mirror of
https://github.com/labwc/labwc.git
synced 2026-03-17 05:33:47 -04:00
action: refactor action()
This commit is contained in:
parent
d15e48269d
commit
745915c0ba
3 changed files with 10 additions and 10 deletions
|
|
@ -30,7 +30,7 @@ static bool handle_keybinding(struct server *server, uint32_t modifiers,
|
|||
continue;
|
||||
for (size_t i = 0; i < keybind->keysyms_len; i++) {
|
||||
if (sym == keybind->keysyms[i]) {
|
||||
action(server, keybind);
|
||||
action(server, keybind->action, keybind->command);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue