# HG changeset patch # User Eli Zaretskii # Date 1142078681 0 # Node ID 0adb2f38bc3d83c7c76dd96c3159e85810a4d40d # Parent af41367cd75bb732452fc86635bd8e3a22fab6ae (x_draw_hollow_cursor): Subtract 1 from the last argument of XDrawRectangle. diff -r af41367cd75b -r 0adb2f38bc3d src/xterm.c --- a/src/xterm.c Sat Mar 11 12:03:12 2006 +0000 +++ b/src/xterm.c Sat Mar 11 12:04:41 2006 +0000 @@ -7178,7 +7178,7 @@ /* Set clipping, draw the rectangle, and reset clipping again. */ x_clip_to_row (w, row, TEXT_AREA, gc); - XDrawRectangle (dpy, FRAME_X_WINDOW (f), gc, x, y, wd, h); + XDrawRectangle (dpy, FRAME_X_WINDOW (f), gc, x, y, wd, h - 1); XSetClipMask (dpy, gc, None); }