mirror of
https://github.com/swaywm/sway.git
synced 2025-11-22 06:59:48 -05:00
copy config references for input and seat
This commit is contained in:
parent
eb0f432a84
commit
9f54cd8935
6 changed files with 37 additions and 7 deletions
|
|
@ -84,7 +84,12 @@ void free_config(struct sway_config *config) {
|
|||
}
|
||||
list_free(config->input_configs);
|
||||
}
|
||||
list_free(config->seat_configs);
|
||||
if (config->seat_configs) {
|
||||
for (i = 0; i < config->seat_configs->length; i++) {
|
||||
free_seat_config(config->seat_configs->items[i]);
|
||||
}
|
||||
list_free(config->seat_configs);
|
||||
}
|
||||
list_free(config->criteria);
|
||||
list_free(config->no_focus);
|
||||
list_free(config->active_bar_modifiers);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue