aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-06-28 20:34:52 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-06-28 20:34:52 +0000
commita09f92817541c5935fda51f11004b7baae06f2ca (patch)
tree6f2df2ebdb60a4cd351e8ff545c492edcb0ce4af
parentterm: destroy: free URLs before free:ing the grids (diff)
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.
-rw-r--r--input.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/input.c b/input.c
index e33fdff4..7db3ca85 100644
--- a/input.c
+++ b/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);
}
}