aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/config.h
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-12-27 00:32:15 -0500
committerLibravatar emersion <contact@emersion.fr>2018-12-30 14:17:24 +0100
commit4d88c957905e7f6b2c8188d218ca22b3e6986fe4 (patch)
tree5f34ad1667607315cfbcb786ce71845a36595d82 /include/sway/config.h
parentVerify seat fallback settings on reload (diff)
downloadsway-4d88c957905e7f6b2c8188d218ca22b3e6986fe4.tar.gz
sway-4d88c957905e7f6b2c8188d218ca22b3e6986fe4.tar.zst
sway-4d88c957905e7f6b2c8188d218ca22b3e6986fe4.zip
hide_cursor: change to a seat subcommand
This makes hide_cursor a seat subcommand, which allows for seat specific timeouts.
Diffstat (limited to 'include/sway/config.h')
-rw-r--r--include/sway/config.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index 6610f009..86473e17 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -140,6 +140,7 @@ struct seat_config {
140 char *name; 140 char *name;
141 int fallback; // -1 means not set 141 int fallback; // -1 means not set
142 list_t *attachments; // list of seat_attachment configs 142 list_t *attachments; // list of seat_attachment configs
143 int hide_cursor_timeout;
143}; 144};
144 145
145enum config_dpms { 146enum config_dpms {
@@ -436,8 +437,6 @@ struct sway_config {
436 enum edge_border_types hide_edge_borders; 437 enum edge_border_types hide_edge_borders;
437 enum edge_border_types saved_edge_borders; 438 enum edge_border_types saved_edge_borders;
438 439
439 int hide_cursor_timeout;
440
441 // border colors 440 // border colors
442 struct { 441 struct {
443 struct border_colors focused; 442 struct border_colors focused;