From a09f92817541c5935fda51f11004b7baae06f2ca Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Mon, 28 Jun 2021 22:34:52 +0200 Subject: input: ignore ‘unused’ URL key bindings when mapping bindings to current keymap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is a temporary fix for #614. Long term fix is to remove the ‘replaced’ bindings from the array at config time. --- input.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'input.c') 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); } } -- cgit v1.3