aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim F. Storm2006-12-10 23:44:44 +0000
committerKim F. Storm2006-12-10 23:44:44 +0000
commit671c46813622c22810b424c189c6a6987eecf2f5 (patch)
tree9d7859bb1ca3323c7cefd860a69c25721d7b6ec2 /src
parent0c852d6e9bf889eb202fe87f6d1390e8081ea073 (diff)
downloademacs-671c46813622c22810b424c189c6a6987eecf2f5.tar.gz
emacs-671c46813622c22810b424c189c6a6987eecf2f5.zip
(show_mouse_face): Never use text cursor in tool-bar.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index da5c88a0355..300f3704731 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -21856,7 +21856,7 @@ show_mouse_face (dpyinfo, draw)
21856 } 21856 }
21857 21857
21858 /* Change the mouse cursor. */ 21858 /* Change the mouse cursor. */
21859 if (draw == DRAW_NORMAL_TEXT) 21859 if (draw == DRAW_NORMAL_TEXT && !EQ (dpyinfo->mouse_face_window, f->tool_bar_window))
21860 rif->define_frame_cursor (f, FRAME_X_OUTPUT (f)->text_cursor); 21860 rif->define_frame_cursor (f, FRAME_X_OUTPUT (f)->text_cursor);
21861 else if (draw == DRAW_MOUSE_FACE) 21861 else if (draw == DRAW_MOUSE_FACE)
21862 rif->define_frame_cursor (f, FRAME_X_OUTPUT (f)->hand_cursor); 21862 rif->define_frame_cursor (f, FRAME_X_OUTPUT (f)->hand_cursor);