aboutsummaryrefslogtreecommitdiffstats
path: root/sway/config.c
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2018-01-20 11:44:34 -0500
committerLibravatar Tony Crisci <tony@dubstepdish.com>2018-01-20 11:44:34 -0500
commitcc3c713889e529c74888d9cd89af7039bfbae20c (patch)
treef40da3a0fc2639b6a22bdb0e323106f66d27ec45 /sway/config.c
parentinput config handler context (diff)
downloadsway-cc3c713889e529c74888d9cd89af7039bfbae20c.tar.gz
sway-cc3c713889e529c74888d9cd89af7039bfbae20c.tar.zst
sway-cc3c713889e529c74888d9cd89af7039bfbae20c.zip
seat config handler context
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/config.c b/sway/config.c
index 54357625..2683d6bc 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -484,6 +484,7 @@ bool load_include_configs(const char *path, struct sway_config *config) {
484 484
485void config_clear_handler_context(struct sway_config *config) { 485void config_clear_handler_context(struct sway_config *config) {
486 free_input_config(config->handler_context.input_config); 486 free_input_config(config->handler_context.input_config);
487 free_seat_config(config->handler_context.seat_config);
487 488
488 memset(&config->handler_context, 0, sizeof(config->handler_context)); 489 memset(&config->handler_context, 0, sizeof(config->handler_context));
489} 490}
@@ -604,7 +605,6 @@ bool read_config(FILE *file, struct sway_config *config) {
604 605
605 case CMD_BLOCK_SEAT: 606 case CMD_BLOCK_SEAT:
606 wlr_log(L_DEBUG, "End of seat block"); 607 wlr_log(L_DEBUG, "End of seat block");
607 current_seat_config = NULL;
608 block = CMD_BLOCK_END; 608 block = CMD_BLOCK_END;
609 break; 609 break;
610 610