]> git.eshelyaron.com Git - emacs.git/commitdiff
(show_mouse_face): When clearing cursor, use proper column range.
authorRichard M. Stallman <rms@gnu.org>
Mon, 20 Nov 1995 04:46:08 +0000 (04:46 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 20 Nov 1995 04:46:08 +0000 (04:46 +0000)
src/xterm.c

index c149866c1a959ee2f5476e104d650c2e1b321be8..f1f312a55f528a17fcca1069aa58059d43e5d6ff 100644 (file)
@@ -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;