aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c4
1 files 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)
2182 /* If the cursor's in the text we are about to rewrite, 2182 /* If the cursor's in the text we are about to rewrite,
2183 turn the cursor off. */ 2183 turn the cursor off. */
2184 if (i == curs_y 2184 if (i == curs_y
2185 && curs_x >= FRAME_X_DISPLAY_INFO (f)->mouse_face_beg_col - 1 2185 && curs_x >= column - 1
2186 && curs_x <= FRAME_X_DISPLAY_INFO (f)->mouse_face_end_col) 2186 && curs_x <= endcolumn)
2187 { 2187 {
2188 x_display_cursor (f, 0); 2188 x_display_cursor (f, 0);
2189 cursor_off = 1; 2189 cursor_off = 1;