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

@ -140,6 +140,7 @@ struct seat_config {
char *name;
int fallback; // -1 means not set
list_t *attachments; // list of seat_attachment configs
int hide_cursor_timeout;
};
enum config_dpms {
@ -436,8 +437,6 @@ struct sway_config {
enum edge_border_types hide_edge_borders;
enum edge_border_types saved_edge_borders;
int hide_cursor_timeout;
// border colors
struct {
struct border_colors focused;