changeset 56891:10705eddc995

(note_mouse_highlight): Set the mouse pointer shape to nontext_cursor if it is on a scroll bar.
author Steven Tamm <steventamm@mac.com>
date Thu, 02 Sep 2004 17:01:20 +0000
parents e8bafb4b47db
children 02d9436a8b32
files src/xdisp.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Thu Sep 02 17:00:55 2004 +0000
+++ b/src/xdisp.c	Thu Sep 02 17:01:20 2004 +0000
@@ -20892,7 +20892,8 @@
 
   if (part == ON_VERTICAL_BORDER)
     cursor = FRAME_X_OUTPUT (f)->horizontal_drag_cursor;
-  else if (part == ON_LEFT_FRINGE || part == ON_RIGHT_FRINGE)
+  else if (part == ON_LEFT_FRINGE || part == ON_RIGHT_FRINGE
+	   || part == ON_SCROLL_BAR)
     cursor = FRAME_X_OUTPUT (f)->nontext_cursor;
   else
     cursor = FRAME_X_OUTPUT (f)->text_cursor;