Make load_include_configs void. Fix some cases where WD would not be restored.

This commit is contained in:
Connor E 2019-02-24 04:39:08 +00:00 committed by Drew DeVault
parent 3924039bc0
commit 401df9cff4
3 changed files with 17 additions and 29 deletions

View file

@ -513,7 +513,7 @@ bool load_main_config(const char *path, bool is_active, bool validating);
/**
* Loads an included config. Can only be used after load_main_config.
*/
bool load_include_configs(const char *path, struct sway_config *config,
void load_include_configs(const char *path, struct sway_config *config,
struct swaynag_instance *swaynag);
/**