mirror of
https://github.com/swaywm/sway.git
synced 2025-04-04 03:17:46 +03:00
Merge 2d1391565b
into ab455bbada
This commit is contained in:
commit
405d227a8e
1 changed files with 4 additions and 1 deletions
|
@ -231,7 +231,10 @@ void cursor_notify_key_press(struct sway_cursor *cursor) {
|
|||
}
|
||||
|
||||
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