mirror of
https://github.com/swaywm/sway.git
synced 2025-11-06 13:29:50 -05:00
Make load_include_configs void. Fix some cases where WD would not be restored.
This commit is contained in:
parent
713883f04c
commit
d4b1e71b91
3 changed files with 17 additions and 29 deletions
|
|
@ -7,11 +7,8 @@ struct cmd_results *cmd_include(int argc, char **argv) {
|
|||
return error;
|
||||
}
|
||||
|
||||
if (!load_include_configs(argv[0], config,
|
||||
&config->swaynag_config_errors)) {
|
||||
return cmd_results_new(CMD_INVALID,
|
||||
"Failed to include sub configuration file: %s", argv[0]);
|
||||
}
|
||||
// We don't care if the included config(s) fails to load.
|
||||
load_include_configs(argv[0], config, &config->swaynag_config_errors);
|
||||
|
||||
return cmd_results_new(CMD_SUCCESS, NULL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue