aboutsummaryrefslogtreecommitdiff
path: root/sway/main.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-09-22 19:51:02 -0500
committerGitHub <noreply@github.com>2018-09-22 19:51:02 -0500
commit68395f34f686aa1901077505405775ba5bafe6ee (patch)
tree0c3a2cff652b212830efb9d674c1b8d6d305bcac /sway/main.c
parentae2055dcf1d389b0acefad4c55cb6030731e9c51 (diff)
parentcb66bbea42adeabd7bd87132a66589e14a46940f (diff)
downloadsway-68395f34f686aa1901077505405775ba5bafe6ee.tar.xz
Merge pull request #2688 from RyanDwyer/exec-commands-without-focus
Allow running commands on containers without focusing them
Diffstat (limited to 'sway/main.c')
-rw-r--r--sway/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/main.c b/sway/main.c
index 3d7cd158..990f5f3a 100644
--- a/sway/main.c
+++ b/sway/main.c
@@ -429,7 +429,7 @@ int main(int argc, char **argv) {
wlr_log(WLR_DEBUG, "Running deferred commands");
while (config->cmd_queue->length) {
char *line = config->cmd_queue->items[0];
- struct cmd_results *res = execute_command(line, NULL);
+ struct cmd_results *res = execute_command(line, NULL, NULL);
if (res->status != CMD_SUCCESS) {
wlr_log(WLR_ERROR, "Error on line '%s': %s", line, res->error);
}