# HG changeset patch # User Kim F. Storm # Date 1143213860 0 # Node ID 68644cbc6a004a1072273ea889adb3b84ba3ca42 # Parent 646410df27a7a3fecba5c29b44bf23c4a693f6e5 (handle_one_xevent): Don't let key-press clear mouse face on in toolbar window if mouse-highlight is an integer. diff -r 646410df27a7 -r 68644cbc6a00 src/xterm.c --- 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;