mirror of
https://github.com/swaywm/sway.git
synced 2026-04-18 06:46:56 -04:00
formatting
This commit is contained in:
parent
052d905fc7
commit
e464128eb2
1 changed files with 10 additions and 7 deletions
|
|
@ -771,6 +771,9 @@ bool translate_binding(struct sway_binding *binding) {
|
||||||
list_qsort(copy_binding->keys, key_qsort_cmp);
|
list_qsort(copy_binding->keys, key_qsort_cmp);
|
||||||
binding_add_translated(copy_binding, config->current_mode->keycode_bindings);
|
binding_add_translated(copy_binding, config->current_mode->keycode_bindings);
|
||||||
}
|
}
|
||||||
|
for (int i = 0; i < num_syms; i++) {
|
||||||
|
list_free_items_and_destroy(sym2code[i]);
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
// if any key cannot be translated, the binding revert to keysym binding
|
// if any key cannot be translated, the binding revert to keysym binding
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue