From 005a80de11fb0efe39b4fb5ad636396a3b86d281 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 11 Mar 2006 12:04:41 +0000 Subject: [PATCH] (x_draw_hollow_cursor): Subtract 1 from the last argument of XDrawRectangle. --- src/xterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xterm.c b/src/xterm.c index 7b952e1f45f..c0941b7cbdb 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); } -- 2.39.2