Mercurial > emacs
changeset 74576:12e2c6045621
(show_mouse_face): Never use text cursor in tool-bar.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Sun, 10 Dec 2006 23:44:44 +0000 |
parents | 34a1ff09106b |
children | eb977be26d8c |
files | src/xdisp.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Sun Dec 10 23:44:43 2006 +0000 +++ b/src/xdisp.c Sun Dec 10 23:44:44 2006 +0000 @@ -21856,7 +21856,7 @@ } /* Change the mouse cursor. */ - if (draw == DRAW_NORMAL_TEXT) + if (draw == DRAW_NORMAL_TEXT && !EQ (dpyinfo->mouse_face_window, f->tool_bar_window)) rif->define_frame_cursor (f, FRAME_X_OUTPUT (f)->text_cursor); else if (draw == DRAW_MOUSE_FACE) rif->define_frame_cursor (f, FRAME_X_OUTPUT (f)->hand_cursor);