summaryrefslogtreecommitdiffstats
path: root/sway/config.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2015-08-08 19:24:18 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2015-08-08 19:24:18 -0400
commita78b9218039de3d6f567990619b4fd255743a67f (patch)
tree67486c0e4953d4145729670e539f30b5685acb68 /sway/config.c
parentHandle focus changes (diff)
downloadsway-a78b9218039de3d6f567990619b4fd255743a67f.tar.gz
sway-a78b9218039de3d6f567990619b4fd255743a67f.tar.zst
sway-a78b9218039de3d6f567990619b4fd255743a67f.zip
Implement key bindings
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 @@
4#include "readline.h" 4#include "readline.h"
5#include "stringop.h" 5#include "stringop.h"
6#include "list.h" 6#include "list.h"
7#include "log.h"
7#include "commands.h" 8#include "commands.h"
8#include "config.h" 9#include "config.h"
9 10
@@ -33,7 +34,7 @@ struct sway_config *read_config(FILE *file) {
33 goto _continue; 34 goto _continue;
34 } 35 }
35 36
36 if (handle_command(config, line) != 0) { 37 if (!temp_depth && handle_command(config, line) != 0) {
37 success = false; 38 success = false;
38 } 39 }
39 40