Commit cf1474a2 authored by Kim F. Storm's avatar Kim F. Storm
Browse files

(XTread_socket): Don't let key-press clear mouse face

on in toolbar window if mouse-highlight is an integer.
parent 95d8aa28
......@@ -2,7 +2,6 @@
 
* xterm.c (handle_one_xevent):
* w32term.c (w32_read_socket):
* msdos.c (dos_rawgetc):
* macterm.c (XTread_socket): Don't let key-press clear mouse face
on in toolbar window if mouse-highlight is an integer.
 
......
......@@ -10455,7 +10455,8 @@ XTread_socket (sd, expected, hold_quit)
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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment