mirror of
https://github.com/swaywm/sway.git
synced 2025-11-13 13:29:49 -05:00
seat config handler context
This commit is contained in:
parent
9e0595f26b
commit
cc3c713889
8 changed files with 31 additions and 8 deletions
|
|
@ -484,6 +484,7 @@ bool load_include_configs(const char *path, struct sway_config *config) {
|
|||
|
||||
void config_clear_handler_context(struct sway_config *config) {
|
||||
free_input_config(config->handler_context.input_config);
|
||||
free_seat_config(config->handler_context.seat_config);
|
||||
|
||||
memset(&config->handler_context, 0, sizeof(config->handler_context));
|
||||
}
|
||||
|
|
@ -604,7 +605,6 @@ bool read_config(FILE *file, struct sway_config *config) {
|
|||
|
||||
case CMD_BLOCK_SEAT:
|
||||
wlr_log(L_DEBUG, "End of seat block");
|
||||
current_seat_config = NULL;
|
||||
block = CMD_BLOCK_END;
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue