From 873341037e2430ab17c7eb523027fa88b614d3fe Mon Sep 17 00:00:00 2001 From: Manuel Giraud Date: Wed, 27 Sep 2023 19:05:10 +0200 Subject: [PATCH] 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 -- 2.39.2