on in toolbar window if mouse-highlight is an integer.
* 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.
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;