From 0d43a5d9ec3d815dc6a9e2058a6b6c3c14fcee37 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 20 Nov 1995 04:46:08 +0000 Subject: [PATCH] (show_mouse_face): When clearing cursor, use proper column range. --- src/xterm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xterm.c b/src/xterm.c index c149866c1a9..f1f312a55f5 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -2182,8 +2182,8 @@ show_mouse_face (dpyinfo, hl) /* If the cursor's in the text we are about to rewrite, turn the cursor off. */ if (i == curs_y - && curs_x >= FRAME_X_DISPLAY_INFO (f)->mouse_face_beg_col - 1 - && curs_x <= FRAME_X_DISPLAY_INFO (f)->mouse_face_end_col) + && curs_x >= column - 1 + && curs_x <= endcolumn) { x_display_cursor (f, 0); cursor_off = 1; -- 2.39.2