From: Kim F. Storm Date: Fri, 24 Mar 2006 15:24:05 +0000 (+0000) Subject: (w32_read_socket): Don't let key-press clear mouse face X-Git-Tag: emacs-pretest-22.0.90~3441 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=442a3a967099dbb69724c4e0955c80d52cb76e42;p=emacs.git (w32_read_socket): Don't let key-press clear mouse face on in toolbar window if mouse-highlight is an integer. --- diff --git a/src/w32term.c b/src/w32term.c index 7d530e7ea65..f0ef42f798b 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -4260,7 +4260,8 @@ w32_read_socket (sd, expected, hold_quit) 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 @@ w32_read_socket (sd, expected, hold_quit) 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;