formatting

This commit is contained in:
Furkan Sahin 2024-09-15 10:54:08 -05:00
parent 052d905fc7
commit e464128eb2

View file

@ -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