From 99c60e860c171ee2cb6325655a9c10c3f31083c8 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Fri, 24 Mar 2006 15:24:20 +0000 Subject: [PATCH] (handle_one_xevent): Don't let key-press clear mouse face on in toolbar window if mouse-highlight is an integer. --- src/xterm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xterm.c b/src/xterm.c index 82f3565f6c4..0ca086b58db 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -6083,7 +6083,8 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit) 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; -- 2.39.2