aboutsummaryrefslogtreecommitdiff
path: root/include/sway/input
diff options
context:
space:
mode:
authorTudor Brindus <me@tbrindus.ca>2020-12-05 23:58:57 -0500
committerSimon Ser <contact@emersion.fr>2020-12-06 09:38:49 +0100
commitcc2c0d5966f67189be4cfc350514134d3f4c0f3c (patch)
treed267d5af6174ac6708503ab006747a41cd137532 /include/sway/input
parentb5cc11b2268820fd49151a5a868c5fff285a652c (diff)
input/cursor: unhide cursor on synthetic input
Fixes #5847.
Diffstat (limited to 'include/sway/input')
-rw-r--r--include/sway/input/cursor.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h
index 55e2ce8e..6a38190b 100644
--- a/include/sway/input/cursor.h
+++ b/include/sway/input/cursor.h
@@ -95,7 +95,9 @@ void cursor_rebase(struct sway_cursor *cursor);
void cursor_rebase_all(void);
void cursor_update_image(struct sway_cursor *cursor, struct sway_node *node);
-void cursor_handle_activity(struct sway_cursor *cursor,
+void cursor_handle_activity_from_idle_source(struct sway_cursor *cursor,
+ enum sway_input_idle_source idle_source);
+void cursor_handle_activity_from_device(struct sway_cursor *cursor,
struct wlr_input_device *device);
void cursor_unhide(struct sway_cursor *cursor);
int cursor_get_timeout(struct sway_cursor *cursor);