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)
This commit is contained in:
Manuel Giraud 2023-09-27 19:05:10 +02:00 committed by Eli Zaretskii
parent 123b77436e
commit 873341037e

View file

@ -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