aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii <[email protected]>2006-03-11 12:04:41 +0000
committerEli Zaretskii <[email protected]>2006-03-11 12:04:41 +0000
commit005a80de11fb0efe39b4fb5ad636396a3b86d281 (patch)
tree17c921cac09404f5673d2f1613ce06870f12cf45 /src
parent97b5ae784da87d61fac93904f11aed356d9215f5 (diff)
(x_draw_hollow_cursor): Subtract 1 from the last argument of XDrawRectangle.
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 7b952e1f45..c0941b7cbd 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -7178,7 +7178,7 @@ x_draw_hollow_cursor (w, row)
/* 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);
}