diff -ru ratpoison/src/input.c longbar/src/input.c --- ratpoison/src/input.c Wed Feb 14 04:48:07 2001 +++ ratpoison/src/input.c Fri Feb 16 12:38:55 2001 @@ -136,14 +136,14 @@ int revert; Window fwin; int prompt_width = XTextWidth (s->font, prompt, strlen (prompt)); - int width = 200 + prompt_width; + int screen_width = DisplayWidth(dpy, 0); /* We don't want to draw overtop of the program bar. */ hide_bar (s); XMapWindow (dpy, s->input_window); XMoveResizeWindow (dpy, s->input_window, - bar_x (s, width), bar_y (s), width, + bar_x (s, screen_width), bar_y (s), screen_width, (FONT_HEIGHT (s->font) + BAR_Y_PADDING * 2)); XClearWindow (dpy, s->input_window); XRaiseWindow (dpy, s->input_window);