]> git.eshelyaron.com Git - emacs.git/commitdiff
(show_mouse_face): Never use text cursor in tool-bar.
authorKim F. Storm <storm@cua.dk>
Sun, 10 Dec 2006 23:44:44 +0000 (23:44 +0000)
committerKim F. Storm <storm@cua.dk>
Sun, 10 Dec 2006 23:44:44 +0000 (23:44 +0000)
src/xdisp.c

index da5c88a0355dfead9a88f611de8e2afa4d7f2291..300f3704731d0c709e68d3d69f31ea28a5bc1cb4 100644 (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);