aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Tamm2004-09-02 17:01:20 +0000
committerSteven Tamm2004-09-02 17:01:20 +0000
commitb15de4146bcbd6efa054b2c6235c733f42d8bfc2 (patch)
tree79f47eef97e4b73ed5250880b9077e63abea8886
parent404e4b841e25f57265dc245342d809abf2c221f3 (diff)
downloademacs-b15de4146bcbd6efa054b2c6235c733f42d8bfc2.tar.gz
emacs-b15de4146bcbd6efa054b2c6235c733f42d8bfc2.zip
(note_mouse_highlight): Set the mouse pointer shape to
nontext_cursor if it is on a scroll bar.
-rw-r--r--src/xdisp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 334ebb72fcb..32cd0f745f0 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -20892,7 +20892,8 @@ note_mouse_highlight (f, x, y)
20892 20892
20893 if (part == ON_VERTICAL_BORDER) 20893 if (part == ON_VERTICAL_BORDER)
20894 cursor = FRAME_X_OUTPUT (f)->horizontal_drag_cursor; 20894 cursor = FRAME_X_OUTPUT (f)->horizontal_drag_cursor;
20895 else if (part == ON_LEFT_FRINGE || part == ON_RIGHT_FRINGE) 20895 else if (part == ON_LEFT_FRINGE || part == ON_RIGHT_FRINGE
20896 || part == ON_SCROLL_BAR)
20896 cursor = FRAME_X_OUTPUT (f)->nontext_cursor; 20897 cursor = FRAME_X_OUTPUT (f)->nontext_cursor;
20897 else 20898 else
20898 cursor = FRAME_X_OUTPUT (f)->text_cursor; 20899 cursor = FRAME_X_OUTPUT (f)->text_cursor;