mirror of
https://github.com/swaywm/sway.git
synced 2026-02-05 04:06:25 -05:00
Merge 9ce8233f6e into 40aabb80c6
This commit is contained in:
commit
b411c0fcf6
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) {
|
||||
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