[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 873341037e2: Nontext mouse cursor as default on {tab|tool}-bar
From: |
Eli Zaretskii |
Subject: |
master 873341037e2: Nontext mouse cursor as default on {tab|tool}-bar |
Date: |
Thu, 5 Oct 2023 03:28:18 -0400 (EDT) |
branch: master
commit 873341037e2430ab17c7eb523027fa88b614d3fe
Author: Manuel Giraud <manuel@ledu-giraud.fr>
Commit: Eli Zaretskii <eliz@gnu.org>
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)
---
src/xdisp.c | 9 ++++-----
1 file 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)
{
note_tab_bar_highlight (f, x, y);
if (tab_bar__dragging_in_progress)
- {
cursor = FRAME_OUTPUT_DATA (f)->hand_cursor;
- goto set_cursor;
- }
else
- return;
+ cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor;
+ goto set_cursor;
}
else
{
@@ -35567,7 +35565,8 @@ note_mouse_highlight (struct frame *f, int x, int y)
if (EQ (window, f->tool_bar_window))
{
note_tool_bar_highlight (f, x, y);
- return;
+ cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor;
+ goto set_cursor;
}
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 873341037e2: Nontext mouse cursor as default on {tab|tool}-bar,
Eli Zaretskii <=