diff options
author | 2019-01-29 13:38:56 -0500 | |
---|---|---|
committer | 2019-01-29 13:38:56 -0500 | |
commit | 4f4424f66caa527869acf79a5e64d31a6212378f (patch) | |
tree | 9c30e11d281adaa634231f91eed98a84860ded1b /include | |
parent | Document cursor moving between adjacent outputs (diff) | |
parent | Cleanup config reading failure error logs (diff) | |
download | sway-4f4424f66caa527869acf79a5e64d31a6212378f.tar.gz sway-4f4424f66caa527869acf79a5e64d31a6212378f.tar.zst sway-4f4424f66caa527869acf79a5e64d31a6212378f.zip |
Merge pull request #3535 from RedSoxFan/cleanup-log-on-config-failure
Cleanup config reading failure error logs
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/config.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index 8215ff59..d5467a56 100644 --- a/include/sway/config.h +++ b/include/sway/config.h | |||
@@ -516,6 +516,11 @@ bool read_config(FILE *file, struct sway_config *config, | |||
516 | struct swaynag_instance *swaynag); | 516 | struct swaynag_instance *swaynag); |
517 | 517 | ||
518 | /** | 518 | /** |
519 | * Run the commands that were deferred when reading the config file. | ||
520 | */ | ||
521 | void run_deferred_commands(void); | ||
522 | |||
523 | /** | ||
519 | * Adds a warning entry to the swaynag instance used for errors. | 524 | * Adds a warning entry to the swaynag instance used for errors. |
520 | */ | 525 | */ |
521 | void config_add_swaynag_warning(char *fmt, ...); | 526 | void config_add_swaynag_warning(char *fmt, ...); |