aboutsummaryrefslogtreecommitdiff
path: root/sway/commands
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-28 19:27:52 -0400
committerGitHub <noreply@github.com>2018-03-28 19:27:52 -0400
commitca809d25199b229b3da7d69f427eb67539dc7bc0 (patch)
treeb28c55c464feb85c61f314a26487404fd63f4fb3 /sway/commands
parent9070950eecded7bfa64e7bca3bb76b150ccc8b72 (diff)
parent8d6bce02afc656bf792815ed68121f4e614cd175 (diff)
Merge pull request #1642 from swaywm/layer-shell
Implement layer shell (rendering)
Diffstat (limited to 'sway/commands')
-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,
}
wordexp_t p;
- char *src = join_args(argv + *i - 1, j);
+ char *src = join_args(argv + *i, j);
if (wordexp(src, &p, 0) != 0 || p.we_wordv[0] == NULL) {
return cmd_results_new(CMD_INVALID, "output",
"Invalid syntax (%s).", src);