diff options
Diffstat (limited to 'sway/config/seat.c')
-rw-r--r-- | sway/config/seat.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sway/config/seat.c b/sway/config/seat.c index c248990a..d7316c68 100644 --- a/sway/config/seat.c +++ b/sway/config/seat.c | |||
@@ -25,6 +25,7 @@ struct seat_config *new_seat_config(const char* name) { | |||
25 | free(seat); | 25 | free(seat); |
26 | return NULL; | 26 | return NULL; |
27 | } | 27 | } |
28 | seat->hide_cursor_timeout = -1; | ||
28 | 29 | ||
29 | return seat; | 30 | return seat; |
30 | } | 31 | } |
@@ -137,6 +138,10 @@ void merge_seat_config(struct seat_config *dest, struct seat_config *source) { | |||
137 | } | 138 | } |
138 | } | 139 | } |
139 | } | 140 | } |
141 | |||
142 | if (source->hide_cursor_timeout != -1) { | ||
143 | dest->hide_cursor_timeout = source->hide_cursor_timeout; | ||
144 | } | ||
140 | } | 145 | } |
141 | 146 | ||
142 | struct seat_config *copy_seat_config(struct seat_config *seat) { | 147 | struct seat_config *copy_seat_config(struct seat_config *seat) { |