aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/config.c b/sway/config.c
index b93d3f8c..7c610755 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -4,6 +4,7 @@
#include "readline.h"
#include "stringop.h"
#include "list.h"
+#include "log.h"
#include "commands.h"
#include "config.h"
@@ -33,7 +34,7 @@ struct sway_config *read_config(FILE *file) {
goto _continue;
}
- if (handle_command(config, line) != 0) {
+ if (!temp_depth && handle_command(config, line) != 0) {
success = false;
}