From 1b85dc1cc5600d3523a5f262d5330d8d5a6aa06d Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sat, 2 Jun 2001 19:19:05 +0000 Subject: [PATCH] (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. --- src/ChangeLog | 6 ++++++ src/xterm.c | 1 + 2 files changed, 7 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 7a369bd581e..6bd26813216 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2001-06-02 Stefan Monnier + + * 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 * lread.c (Fload): Document that the argument is run via diff --git a/src/xterm.c b/src/xterm.c index f6f3f599798..1715b08c6d0 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -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; } -- 2.39.2