From: Kim F. Storm Date: Mon, 5 Apr 2004 21:54:43 +0000 (+0000) Subject: (clear_mouse_face): Only clear mouse highlight if not hidden. X-Git-Tag: ttn-vms-21-2-B4~6951 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=867756d80a78707fcb32e8aae7403810cbc5ae6f;p=emacs.git (clear_mouse_face): Only clear mouse highlight if not hidden. --- diff --git a/src/xdisp.c b/src/xdisp.c index 6711eb242ce..9c0434a681d 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -19832,7 +19832,7 @@ clear_mouse_face (dpyinfo) { 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); cleared = 1;