diff options
author | Kim F. Storm <storm@cua.dk> | 2006-03-24 15:23:35 +0000 |
---|---|---|
committer | Kim F. Storm <storm@cua.dk> | 2006-03-24 15:23:35 +0000 |
commit | cf1474a2829418212b0c28f43a24fda8359c6267 (patch) | |
tree | df383d75f257c398a4e619a1558c24423eda7e23 /src/macterm.c | |
parent | 95d8aa287fd3d6fcf01a8e09236b612be4961b35 (diff) | |
download | emacs-cf1474a2829418212b0c28f43a24fda8359c6267.tar.gz |
(XTread_socket): Don't let key-press clear mouse face
on in toolbar window if mouse-highlight is an integer.
Diffstat (limited to 'src/macterm.c')
-rw-r--r-- | src/macterm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/macterm.c b/src/macterm.c index b78c01e129e..d30fa02e31f 100644 --- a/src/macterm.c +++ b/src/macterm.c @@ -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; |