summaryrefslogtreecommitdiff
path: root/sway/commands/exec_always.c
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2018-11-05 21:21:47 +0100
committerGitHub <[email protected]>2018-11-05 21:21:47 +0100
commit25bea8f6a538edf47ab7e0625f24cdf31e28473f (patch)
tree96296f5d755a728e8999b072bfd5ce8ee9c4d79e /sway/commands/exec_always.c
parent0e85b92250f8f6f01134a2d53f735567896f2ec8 (diff)
parentfbf1730557687964ca520e70d94ab4b0fd63a595 (diff)
Merge branch 'master' into effective-damage
Diffstat (limited to 'sway/commands/exec_always.c')
-rw-r--r--sway/commands/exec_always.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/exec_always.c b/sway/commands/exec_always.c
index 8bdeceeb..7a15709b 100644
--- a/sway/commands/exec_always.c
+++ b/sway/commands/exec_always.c
@@ -15,7 +15,7 @@
struct cmd_results *cmd_exec_always(int argc, char **argv) {
struct cmd_results *error = NULL;
- if (!config->active) return cmd_results_new(CMD_DEFER, NULL, NULL);
+ if (!config->active || config->validating) return cmd_results_new(CMD_DEFER, NULL, NULL);
if ((error = checkarg(argc, argv[-1], EXPECTED_AT_LEAST, 1))) {
return error;
}