|
|
|
@ -183,8 +183,6 @@ static bool keyboard_execute_bindcode(struct sway_keyboard *keyboard) {
|
|
|
|
|
list_t *keycode_bindings = config->current_mode->keycode_bindings;
|
|
|
|
|
for (int i = 0; i < keycode_bindings->length; ++i) {
|
|
|
|
|
struct sway_binding *binding = keycode_bindings->items[i];
|
|
|
|
|
//bool match = true;
|
|
|
|
|
for (int j = 0; j < binding->keys->length; ++j) {
|
|
|
|
|
if (binding_matches_keycodes(wlr_keyboard, binding)) {
|
|
|
|
|
struct cmd_results *results = handle_command(binding->command);
|
|
|
|
|
if (results->status != CMD_SUCCESS) {
|
|
|
|
@ -195,7 +193,6 @@ static bool keyboard_execute_bindcode(struct sway_keyboard *keyboard) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|