diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-02-24 12:50:24 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-02-24 12:50:24 -0500 |
commit | ac8269d536bf636bd0fbf8047cf6516912634864 (patch) | |
tree | d23376a0f745e113b3ddfb10573375c9d6ea587e /sway/input/keyboard.c | |
parent | update log.h for latest wlr (diff) | |
download | sway-ac8269d536bf636bd0fbf8047cf6516912634864.tar.gz sway-ac8269d536bf636bd0fbf8047cf6516912634864.tar.zst sway-ac8269d536bf636bd0fbf8047cf6516912634864.zip |
take seat param for handle_command and rename
Diffstat (limited to 'sway/input/keyboard.c')
-rw-r--r-- | sway/input/keyboard.c | 2 |
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, | |||
95 | binding->command); | 95 | binding->command); |
96 | config_clear_handler_context(config); | 96 | config_clear_handler_context(config); |
97 | config->handler_context.seat = keyboard->seat_device->sway_seat; | 97 | config->handler_context.seat = keyboard->seat_device->sway_seat; |
98 | struct cmd_results *results = handle_command(binding->command); | 98 | struct cmd_results *results = execute_command(binding->command, NULL); |
99 | if (results->status != CMD_SUCCESS) { | 99 | if (results->status != CMD_SUCCESS) { |
100 | wlr_log(L_DEBUG, "could not run command for binding: %s", | 100 | wlr_log(L_DEBUG, "could not run command for binding: %s", |
101 | binding->command); | 101 | binding->command); |