changeset 107706:59d957b53239

xdisp.c (note_mouse_highlight): Don't do highlight if pointer is invisible (Bug#5766).
author Jan D. <jan.h.d@swipnet.se>
date Tue, 30 Mar 2010 19:26:58 +0200
parents 51eb297451ff
children 0fee5a19e171
files src/ChangeLog src/xdisp.c
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Mar 30 21:50:44 2010 +0900
+++ b/src/ChangeLog	Tue Mar 30 19:26:58 2010 +0200
@@ -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
--- a/src/xdisp.c	Tue Mar 30 21:50:44 2010 +0900
+++ b/src/xdisp.c	Tue Mar 30 19:26:58 2010 +0200
@@ -23551,7 +23551,8 @@
 #endif
 
   if (NILP (Vmouse_highlight)
-      || !f->glyphs_initialized_p)
+      || !f->glyphs_initialized_p
+      || f->pointer_invisible)
     return;
 
   dpyinfo->mouse_face_mouse_x = x;