summaryrefslogtreecommitdiff
path: root/src/macterm.c
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2006-03-24 15:23:35 +0000
committerKim F. Storm <storm@cua.dk>2006-03-24 15:23:35 +0000
commitcf1474a2829418212b0c28f43a24fda8359c6267 (patch)
treedf383d75f257c398a4e619a1558c24423eda7e23 /src/macterm.c
parent95d8aa287fd3d6fcf01a8e09236b612be4961b35 (diff)
downloademacs-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.c3
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;