cursor: move unhide and timeout retrieval into separate functions

The unhide and timeout retrieval functions are needed in a later commit. No
functional changes.
This commit is contained in:
Rouven Czerwinski 2019-01-07 13:19:47 +01:00 committed by Brian Ashworth
parent bd59602711
commit fde900861a
2 changed files with 25 additions and 12 deletions

View file

@ -61,6 +61,8 @@ struct sway_cursor *sway_cursor_create(struct sway_seat *seat);
void cursor_rebase(struct sway_cursor *cursor);
void cursor_handle_activity(struct sway_cursor *cursor);
void cursor_unhide(struct sway_cursor *cursor);
int cursor_get_timeout(struct sway_cursor *cursor);
/**
* Like cursor_rebase, but also allows focus to change when the cursor enters a