aboutsummaryrefslogtreecommitdiff
path: root/sway/input
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-02-24 12:50:24 -0500
committerTony Crisci <tony@dubstepdish.com>2018-02-24 12:50:24 -0500
commitac8269d536bf636bd0fbf8047cf6516912634864 (patch)
treed23376a0f745e113b3ddfb10573375c9d6ea587e /sway/input
parent6becfc14310e1443fc058b57c3ff756f3cb06af3 (diff)
downloadsway-ac8269d536bf636bd0fbf8047cf6516912634864.tar.xz
take seat param for handle_command and rename
Diffstat (limited to 'sway/input')
-rw-r--r--sway/input/keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/keyboard.c b/sway/input/keyboard.c
index 6dc57d46..99685052 100644
--- a/sway/input/keyboard.c
+++ b/sway/input/keyboard.c
@@ -95,7 +95,7 @@ static void keyboard_execute_command(struct sway_keyboard *keyboard,
binding->command);
config_clear_handler_context(config);
config->handler_context.seat = keyboard->seat_device->sway_seat;
- struct cmd_results *results = handle_command(binding->command);
+ struct cmd_results *results = execute_command(binding->command, NULL);
if (results->status != CMD_SUCCESS) {
wlr_log(L_DEBUG, "could not run command for binding: %s",
binding->command);