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:
Daniel Eklöf 2021-06-28 22:34:52 +02:00
parent 117e24dbf4
commit a09f928175
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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);
}
}