(clear_mouse_face): Reset dpyinfo->mouse_face_overlay as

well otherwise note_mouse_highlight might optimize away highlighting
if we pass over that same overlay again.
This commit is contained in:
Stefan Monnier 2001-06-02 19:19:05 +00:00
parent 0825052e09
commit 1b85dc1cc5
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2001-06-02 Stefan Monnier <monnier@cs.yale.edu>
* xterm.c (clear_mouse_face): Reset dpyinfo->mouse_face_overlay as
well otherwise note_mouse_highlight might optimize away highlighting
if we pass over that same overlay again.
2001-06-02 Eli Zaretskii <eliz@is.elta.co.il>
* lread.c (Fload): Document that the argument is run via

View file

@ -7696,6 +7696,7 @@ clear_mouse_face (dpyinfo)
dpyinfo->mouse_face_beg_row = dpyinfo->mouse_face_beg_col = -1;
dpyinfo->mouse_face_end_row = dpyinfo->mouse_face_end_col = -1;
dpyinfo->mouse_face_window = Qnil;
dpyinfo->mouse_face_overlay = Qnil;
return cleared;
}