aboutsummaryrefslogtreecommitdiff
path: root/sway/input/cursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/input/cursor.c')
-rw-r--r--sway/input/cursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c
index 0b11c924..271c95f9 100644
--- a/sway/input/cursor.c
+++ b/sway/input/cursor.c
@@ -268,7 +268,7 @@ void cursor_handle_activity(struct sway_cursor *cursor,
cursor->hide_source, cursor_get_timeout(cursor));
seat_idle_notify_activity(cursor->seat, idle_source);
- if (cursor->hidden) {
+ if (cursor->hidden && idle_source != IDLE_SOURCE_TOUCH) {
cursor_unhide(cursor);
}
}