From: Jan Djärv Date: Tue, 30 Mar 2010 17:26:58 +0000 (+0200) Subject: xdisp.c (note_mouse_highlight): Don't do highlight if pointer is invisible (Bug#5766). X-Git-Tag: emacs-pretest-23.1.95~13 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=67fee863be3a08eae00736fe0777bdb0c259cdff;p=emacs.git xdisp.c (note_mouse_highlight): Don't do highlight if pointer is invisible (Bug#5766). --- diff --git a/src/ChangeLog b/src/ChangeLog index ceb9cad4d88..25182378fd0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2010-03-30 Jan Djärv + + * xdisp.c (note_mouse_highlight): Don't do highlight if pointer is + invisible (Bug#5766). + 2010-03-29 Adrian Robert * xdisp.c (x_consider_frame_title, update_window_cursor): Remove diff --git a/src/xdisp.c b/src/xdisp.c index 81b97b25c1c..1b6cbfbe27a 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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;