changeset 69662:646410df27a7

(w32_read_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:24:05 +0000
parents 58a7df7bc7da
children 68644cbc6a00
files src/w32term.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32term.c	Fri Mar 24 15:23:35 2006 +0000
+++ b/src/w32term.c	Fri Mar 24 15:24:05 2006 +0000
@@ -4260,7 +4260,8 @@
 
 	  if (f && !f->iconified)
 	    {
-	      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;
@@ -4283,7 +4284,8 @@
 
 	  if (f && !f->iconified)
 	    {
-	      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;