mirror of
https://github.com/swaywm/sway.git
synced 2026-04-20 06:47:03 -04:00
Merge 9ce8233f6e into 909a2ddb5f
This commit is contained in:
commit
0c7edac578
1 changed files with 4 additions and 1 deletions
|
|
@ -225,7 +225,10 @@ void cursor_notify_key_press(struct sway_cursor *cursor) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cursor->hide_when_typing == HIDE_WHEN_TYPING_ENABLE) {
|
if (cursor->hide_when_typing == HIDE_WHEN_TYPING_ENABLE) {
|
||||||
cursor_hide(cursor);
|
if (cursor->pressed_button_count == 0) {
|
||||||
|
// Do not hide cursor unless all buttons are released
|
||||||
|
cursor_hide(cursor);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue