mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-24 18:07:01 +00:00
...
This commit is contained in:
parent
1f91250a40
commit
cae19bba60
1 changed files with 5 additions and 1 deletions
|
|
@ -322,7 +322,11 @@ extend_selection(Window *w, bool ended, bool extend_nearest) {
|
|||
|
||||
static void
|
||||
set_mouse_cursor_for_screen(Screen *screen) {
|
||||
mouse_cursor_shape = screen->modes.mouse_tracking_mode == NO_TRACKING ? OPT(default_pointer_shape): OPT(pointer_shape_when_grabbed);
|
||||
if (screen->modes.mouse_tracking_mode == NO_TRACKING) {
|
||||
mouse_cursor_shape = OPT(default_pointer_shape);
|
||||
} else {
|
||||
mouse_cursor_shape = OPT(pointer_shape_when_grabbed);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue