changeset 69663:68644cbc6a00

(handle_one_xevent): 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:20 +0000
parents 646410df27a7
children 55e66496ae1a
files src/xterm.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Fri Mar 24 15:24:05 2006 +0000
+++ b/src/xterm.c	Fri Mar 24 15:24:20 2006 +0000
@@ -6083,7 +6083,8 @@
 
       f = x_any_window_to_frame (dpyinfo, event.xkey.window);
 
-      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;