From b15de4146bcbd6efa054b2c6235c733f42d8bfc2 Mon Sep 17 00:00:00 2001 From: Steven Tamm Date: Thu, 2 Sep 2004 17:01:20 +0000 Subject: [PATCH] (note_mouse_highlight): Set the mouse pointer shape to nontext_cursor if it is on a scroll bar. --- src/xdisp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) 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; -- 2.39.5