aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-01-29 13:38:56 -0500
committerGitHub <noreply@github.com>2019-01-29 13:38:56 -0500
commit4f4424f66caa527869acf79a5e64d31a6212378f (patch)
tree9c30e11d281adaa634231f91eed98a84860ded1b /include/sway
parentf49ad5977ea390078e8d4d6b633f895bfa0909c4 (diff)
parentf0fd6119cffd22c1bdf5553cc2a729839840d63e (diff)
Merge pull request #3535 from RedSoxFan/cleanup-log-on-config-failure
Cleanup config reading failure error logs
Diffstat (limited to 'include/sway')
-rw-r--r--include/sway/config.h5
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,
struct swaynag_instance *swaynag);
/**
+ * Run the commands that were deferred when reading the config file.
+ */
+void run_deferred_commands(void);
+
+/**
* Adds a warning entry to the swaynag instance used for errors.
*/
void config_add_swaynag_warning(char *fmt, ...);