diff options
| author | Manuel Giraud | 2023-09-27 19:05:10 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2023-10-05 10:27:38 +0300 |
| commit | 873341037e2430ab17c7eb523027fa88b614d3fe (patch) | |
| tree | 7b762ba6668b07c3dc0421d4995b4810e3a535b5 /src | |
| parent | 123b77436e187c6254d4585d08135a44077528d1 (diff) | |
| download | emacs-873341037e2430ab17c7eb523027fa88b614d3fe.tar.gz emacs-873341037e2430ab17c7eb523027fa88b614d3fe.zip | |
Nontext mouse cursor as default on {tab|tool}-bar
* src/xdisp.c (note_mouse_highlight): Always set the mouse cursor to
nontext when entering tab-bar and tool-bar. (Bug#66243)
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index f1980c4f20c..2c53527c25e 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -35544,12 +35544,10 @@ note_mouse_highlight (struct frame *f, int x, int y) | |||
| 35544 | { | 35544 | { |
| 35545 | note_tab_bar_highlight (f, x, y); | 35545 | note_tab_bar_highlight (f, x, y); |
| 35546 | if (tab_bar__dragging_in_progress) | 35546 | if (tab_bar__dragging_in_progress) |
| 35547 | { | ||
| 35548 | cursor = FRAME_OUTPUT_DATA (f)->hand_cursor; | 35547 | cursor = FRAME_OUTPUT_DATA (f)->hand_cursor; |
| 35549 | goto set_cursor; | ||
| 35550 | } | ||
| 35551 | else | 35548 | else |
| 35552 | return; | 35549 | cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; |
| 35550 | goto set_cursor; | ||
| 35553 | } | 35551 | } |
| 35554 | else | 35552 | else |
| 35555 | { | 35553 | { |
| @@ -35567,7 +35565,8 @@ note_mouse_highlight (struct frame *f, int x, int y) | |||
| 35567 | if (EQ (window, f->tool_bar_window)) | 35565 | if (EQ (window, f->tool_bar_window)) |
| 35568 | { | 35566 | { |
| 35569 | note_tool_bar_highlight (f, x, y); | 35567 | note_tool_bar_highlight (f, x, y); |
| 35570 | return; | 35568 | cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; |
| 35569 | goto set_cursor; | ||
| 35571 | } | 35570 | } |
| 35572 | #endif | 35571 | #endif |
| 35573 | 35572 | ||