changeset 69371:0adb2f38bc3d

(x_draw_hollow_cursor): Subtract 1 from the last argument of XDrawRectangle.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 11 Mar 2006 12:04:41 +0000
parents af41367cd75b
children 1827706c5dd5
files src/xterm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);
 }