hide_cursor: change to a seat subcommand

This makes hide_cursor a seat subcommand, which allows for seat specific
timeouts.
This commit is contained in:
Brian Ashworth 2018-12-27 00:32:15 -05:00 committed by emersion
parent 09bb71f650
commit 4d88c95790
14 changed files with 54 additions and 30 deletions

View file

@ -60,6 +60,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);
/**
* Like cursor_rebase, but also allows focus to change when the cursor enters a
* new container.