]> git.eshelyaron.com Git - emacs.git/commitdiff
xdisp.c (note_mouse_highlight): Don't do highlight if pointer is invisible (Bug#5766).
authorJan Djärv <jan.h.d@swipnet.se>
Tue, 30 Mar 2010 17:26:58 +0000 (19:26 +0200)
committerJan Djärv <jan.h.d@swipnet.se>
Tue, 30 Mar 2010 17:26:58 +0000 (19:26 +0200)
src/ChangeLog
src/xdisp.c

index ceb9cad4d88bc2022d48e70915a51592b5d160f9..25182378fd004d64258c7b61551b3bbaa3fadbd9 100644 (file)
@@ -1,3 +1,8 @@
+2010-03-30  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xdisp.c (note_mouse_highlight): Don't do highlight if pointer is
+       invisible (Bug#5766).
+
 2010-03-29  Adrian Robert  <adrian.b.robert@gmail.com>
 
        * xdisp.c (x_consider_frame_title, update_window_cursor): Remove
index 81b97b25c1c7cd075090c351b949fb7f94ced9f4..1b6cbfbe27a0796c6bfc740193a4c13c559cf32c 100644 (file)
@@ -23551,7 +23551,8 @@ note_mouse_highlight (f, x, y)
 #endif
 
   if (NILP (Vmouse_highlight)
-      || !f->glyphs_initialized_p)
+      || !f->glyphs_initialized_p
+      || f->pointer_invisible)
     return;
 
   dpyinfo->mouse_face_mouse_x = x;