mirror of
https://github.com/swaywm/sway.git
synced 2025-11-22 06:59:48 -05:00
take seat param for handle_command and rename
This commit is contained in:
parent
6becfc1431
commit
ac8269d536
5 changed files with 32 additions and 25 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue