From: Manuel Giraud Date: Wed, 27 Sep 2023 17:05:10 +0000 (+0200) Subject: Nontext mouse cursor as default on {tab|tool}-bar X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=873341037e2430ab17c7eb523027fa88b614d3fe;p=emacs.git 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) --- 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