diff options
author | Rouven Czerwinski <rouven@czerwinskis.de> | 2019-01-07 13:19:47 +0100 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2019-01-07 10:30:19 -0500 |
commit | fde900861af742f4078ace5720ddd5b02eeb0bac (patch) | |
tree | ac7ed6d556751f6871e328ef9ad7dedf7666063b /include/sway/input | |
parent | Merge pull request #3381 from oscarwcl/swayidle-inhibit-sleep (diff) | |
download | sway-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')
-rw-r--r-- | include/sway/input/cursor.h | 2 |
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); | |||
61 | void cursor_rebase(struct sway_cursor *cursor); | 61 | void cursor_rebase(struct sway_cursor *cursor); |
62 | 62 | ||
63 | void cursor_handle_activity(struct sway_cursor *cursor); | 63 | void cursor_handle_activity(struct sway_cursor *cursor); |
64 | void cursor_unhide(struct sway_cursor *cursor); | ||
65 | int 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 |