diff options
author | emersion <contact@emersion.fr> | 2019-01-09 09:59:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-09 09:59:09 +0100 |
commit | 8daea2bfec4a92babe4ffa89eb28c8f9ba92cf84 (patch) | |
tree | 4dd87b12e82be7decacb40ef8cb14ecd00ba45f8 /sway | |
parent | cfdb614e84ff6559897057c501b8ae530a699543 (diff) | |
parent | fdc262d4029966f78d3598c0fd78361cc9a498d4 (diff) |
Merge pull request #3390 from RedSoxFan/execute-seat
cmd_bind: pass the seat to execute_command
Diffstat (limited to 'sway')
-rw-r--r-- | sway/commands/bind.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/commands/bind.c b/sway/commands/bind.c index 5990166a..7994ab2f 100644 --- a/sway/commands/bind.c +++ b/sway/commands/bind.c @@ -312,8 +312,7 @@ struct cmd_results *cmd_bindcode(int argc, char **argv) { void seat_execute_command(struct sway_seat *seat, struct sway_binding *binding) { wlr_log(WLR_DEBUG, "running command for binding: %s", binding->command); - config->handler_context.seat = seat; - list_t *res_list = execute_command(binding->command, NULL, NULL); + list_t *res_list = execute_command(binding->command, seat, NULL); bool success = true; for (int i = 0; i < res_list->length; ++i) { struct cmd_results *results = res_list->items[i]; |