mirror of
https://github.com/swaywm/sway.git
synced 2025-11-20 06:59:46 -05:00
Make command block implementation generic
This commit is contained in:
parent
2d480e754e
commit
7c810dc344
12 changed files with 293 additions and 410 deletions
|
|
@ -98,7 +98,6 @@ static void keyboard_execute_command(struct sway_keyboard *keyboard,
|
|||
struct sway_binding *binding) {
|
||||
wlr_log(L_DEBUG, "running command for binding: %s",
|
||||
binding->command);
|
||||
config_clear_handler_context(config);
|
||||
config->handler_context.seat = keyboard->seat_device->sway_seat;
|
||||
struct cmd_results *results = execute_command(binding->command, NULL);
|
||||
if (results->status != CMD_SUCCESS) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue