aboutsummaryrefslogtreecommitdiff
path: root/sway/commands
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/commands
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/commands')
-rw-r--r--sway/commands/bind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/bind.c b/sway/commands/bind.c
index 047018e0..820c2a6a 100644
--- a/sway/commands/bind.c
+++ b/sway/commands/bind.c
@@ -321,7 +321,7 @@ void seat_execute_command(struct sway_seat *seat, struct sway_binding *binding)
}
config->handler_context.seat = seat;
- struct cmd_results *results = execute_command(binding->command, NULL);
+ struct cmd_results *results = execute_command(binding->command, NULL, NULL);
if (results->status == CMD_SUCCESS) {
ipc_event_binding(binding_copy);
} else {