aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/input/cursor.h
diff options
context:
space:
mode:
authorLibravatar Rouven Czerwinski <rouven@czerwinskis.de>2019-01-07 13:19:47 +0100
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-01-07 10:30:19 -0500
commitfde900861af742f4078ace5720ddd5b02eeb0bac (patch)
treeac7ed6d556751f6871e328ef9ad7dedf7666063b /include/sway/input/cursor.h
parentMerge pull request #3381 from oscarwcl/swayidle-inhibit-sleep (diff)
downloadsway-fde900861af742f4078ace5720ddd5b02eeb0bac.tar.gz
sway-fde900861af742f4078ace5720ddd5b02eeb0bac.tar.zst
sway-fde900861af742f4078ace5720ddd5b02eeb0bac.zip
cursor: move unhide and timeout retrieval into separate functions
The unhide and timeout retrieval functions are needed in a later commit. No functional changes.
Diffstat (limited to 'include/sway/input/cursor.h')
-rw-r--r--include/sway/input/cursor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h
index 78489e21..22e278b0 100644
--- a/include/sway/input/cursor.h
+++ b/include/sway/input/cursor.h
@@ -61,6 +61,8 @@ struct sway_cursor *sway_cursor_create(struct sway_seat *seat);
61void cursor_rebase(struct sway_cursor *cursor); 61void cursor_rebase(struct sway_cursor *cursor);
62 62
63void cursor_handle_activity(struct sway_cursor *cursor); 63void cursor_handle_activity(struct sway_cursor *cursor);
64void cursor_unhide(struct sway_cursor *cursor);
65int cursor_get_timeout(struct sway_cursor *cursor);
64 66
65/** 67/**
66 * Like cursor_rebase, but also allows focus to change when the cursor enters a 68 * Like cursor_rebase, but also allows focus to change when the cursor enters a