diff src/macterm.c @ 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 eafd737138ea
children 9dd22c1de682 c1e013e3dc0e e6bf73e43cf4
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;