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:
parent
123b77436e
commit
873341037e
1 changed files with 4 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue