comparison src/xdisp.c @ 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 46a5c5c96508
children f91c735c3055
comparison
equal deleted inserted replaced
74575:34a1ff09106b 74576:12e2c6045621
21854 UNBLOCK_INPUT; 21854 UNBLOCK_INPUT;
21855 } 21855 }
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);
21863 else 21863 else
21864 rif->define_frame_cursor (f, FRAME_X_OUTPUT (f)->nontext_cursor); 21864 rif->define_frame_cursor (f, FRAME_X_OUTPUT (f)->nontext_cursor);