This commit is contained in:
Firgen 2025-10-02 01:12:04 -04:00 committed by GitHub
commit 0fa301a2d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -225,9 +225,12 @@ void cursor_notify_key_press(struct sway_cursor *cursor) {
}
if (cursor->hide_when_typing == HIDE_WHEN_TYPING_ENABLE) {
if (cursor->pressed_button_count == 0) {
// Do not hide cursor unless all buttons are released
cursor_hide(cursor);
}
}
}
static enum sway_input_idle_source idle_source_from_device(
struct wlr_input_device *device) {