mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
input: ignore ‘unused’ URL key bindings when mapping bindings to current keymap
This is a temporary fix for #614. Long term fix is to remove the ‘replaced’ bindings from the array at config time.
This commit is contained in:
parent
117e24dbf4
commit
a09f928175
1 changed files with 0 additions and 2 deletions
2
input.c
2
input.c
|
|
@ -551,10 +551,8 @@ convert_url_bindings(const struct config *conf, struct seat *seat)
|
|||
{
|
||||
for (size_t i = 0; i < conf->bindings.url.count; i++) {
|
||||
const struct config_key_binding *binding = &conf->bindings.url.arr[i];
|
||||
#if 0
|
||||
if (binding->action == BIND_ACTION_URL_NONE)
|
||||
continue;
|
||||
#endif
|
||||
convert_key_binding(seat, binding, &seat->kbd.bindings.url);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue