From: Steven Tamm Date: Thu, 2 Sep 2004 17:01:20 +0000 (+0000) Subject: (note_mouse_highlight): Set the mouse pointer shape to X-Git-Tag: ttn-vms-21-2-B4~5096 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b15de4146bcbd6efa054b2c6235c733f42d8bfc2;p=emacs.git (note_mouse_highlight): Set the mouse pointer shape to nontext_cursor if it is on a scroll bar. --- 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;