mirror of
https://github.com/swaywm/sway.git
synced 2025-10-08 21:25:58 +00:00
Merge 2d1391565b
into d9e615c507
This commit is contained in:
commit
0fa301a2d7
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
Reference in a new issue