aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/output.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-03-28 16:38:11 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2018-03-28 16:42:13 -0400
commit68cfa7ef6705c530ff28d9754c5b6cab7b429150 (patch)
tree0c25eb44f1285f2522b6a5f014276239cfa6ae3f /sway/commands/output.c
parentAdd initial layer shell skeleton (diff)
downloadsway-68cfa7ef6705c530ff28d9754c5b6cab7b429150.tar.gz
sway-68cfa7ef6705c530ff28d9754c5b6cab7b429150.tar.zst
sway-68cfa7ef6705c530ff28d9754c5b6cab7b429150.zip
Render layer surfaces and respect exclusive zone
Diffstat (limited to 'sway/commands/output.c')
-rw-r--r--sway/commands/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/output.c b/sway/commands/output.c
index e747eb4e..35bc8099 100644
--- a/sway/commands/output.c
+++ b/sway/commands/output.c
@@ -188,7 +188,7 @@ static struct cmd_results *cmd_output_background(struct output_config *output,
188 } 188 }
189 189
190 wordexp_t p; 190 wordexp_t p;
191 char *src = join_args(argv + *i - 1, j); 191 char *src = join_args(argv + *i, j);
192 if (wordexp(src, &p, 0) != 0 || p.we_wordv[0] == NULL) { 192 if (wordexp(src, &p, 0) != 0 || p.we_wordv[0] == NULL) {
193 return cmd_results_new(CMD_INVALID, "output", 193 return cmd_results_new(CMD_INVALID, "output",
194 "Invalid syntax (%s).", src); 194 "Invalid syntax (%s).", src);