diff options
| author | Steven Tamm | 2004-09-02 17:01:20 +0000 |
|---|---|---|
| committer | Steven Tamm | 2004-09-02 17:01:20 +0000 |
| commit | b15de4146bcbd6efa054b2c6235c733f42d8bfc2 (patch) | |
| tree | 79f47eef97e4b73ed5250880b9077e63abea8886 /src | |
| parent | 404e4b841e25f57265dc245342d809abf2c221f3 (diff) | |
| download | emacs-b15de4146bcbd6efa054b2c6235c733f42d8bfc2.tar.gz emacs-b15de4146bcbd6efa054b2c6235c733f42d8bfc2.zip | |
(note_mouse_highlight): Set the mouse pointer shape to
nontext_cursor if it is on a scroll bar.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 3 |
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; |