(clear_mouse_face): Only clear mouse highlight if not hidden.
authorKim F. Storm <storm@cua.dk>
Mon, 5 Apr 2004 21:54:43 +0000 (21:54 +0000)
committerKim F. Storm <storm@cua.dk>
Mon, 5 Apr 2004 21:54:43 +0000 (21:54 +0000)
src/xdisp.c

index 6711eb2..9c0434a 100644 (file)
@@ -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;