1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

(clear_mouse_face): Only clear mouse highlight if not hidden.

This commit is contained in:
Kim F. Storm 2004-04-05 21:54:43 +00:00
parent 7292c311e8
commit 867756d80a

View File

@ -19832,7 +19832,7 @@ clear_mouse_face (dpyinfo)
{ {
int cleared = 0; int cleared = 0;
if (!NILP (dpyinfo->mouse_face_window)) if (!dpyinfo->mouse_face_hidden && !NILP (dpyinfo->mouse_face_window))
{ {
show_mouse_face (dpyinfo, DRAW_NORMAL_TEXT); show_mouse_face (dpyinfo, DRAW_NORMAL_TEXT);
cleared = 1; cleared = 1;