changeset 69660:bc015cae7e3e

(XTread_socket): Don't let key-press clear mouse face on in toolbar window if mouse-highlight is an integer.
author Kim F. Storm <storm@cua.dk>
date Fri, 24 Mar 2006 15:22:44 +0000
parents 6d8d337eea89
children 58a7df7bc7da
files src/macterm.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/macterm.c	Fri Mar 24 15:22:06 2006 +0000
+++ b/src/macterm.c	Fri Mar 24 15:22:44 2006 +0000
@@ -10455,7 +10455,8 @@
 
 	    ObscureCursor ();
 
-	    if (!dpyinfo->mouse_face_hidden && INTEGERP (Vmouse_highlight))
+	    if (!dpyinfo->mouse_face_hidden && INTEGERP (Vmouse_highlight)
+		&& !EQ (f->tool_bar_window, dpyinfo->mouse_face_window))
 	      {
 		clear_mouse_face (dpyinfo);
 		dpyinfo->mouse_face_hidden = 1;