From cc2c0d5966f67189be4cfc350514134d3f4c0f3c Mon Sep 17 00:00:00 2001 From: Tudor Brindus Date: Sat, 5 Dec 2020 23:58:57 -0500 Subject: input/cursor: unhide cursor on synthetic input Fixes #5847. --- include/sway/input/cursor.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/sway/input') 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); -- cgit v1.2.3