1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-05-01 02:31:23 -07:00

(show_mouse_face): Never use text cursor in tool-bar.

This commit is contained in:
Kim F. Storm 2006-12-10 23:44:44 +00:00
parent 0c852d6e9b
commit 671c468136

View file

@ -21856,7 +21856,7 @@ show_mouse_face (dpyinfo, draw)
}
/* 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);