From a09f92817541c5935fda51f11004b7baae06f2ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Mon, 28 Jun 2021 22:34:52 +0200 Subject: [PATCH] =?UTF-8?q?input:=20ignore=20=E2=80=98unused=E2=80=99=20UR?= =?UTF-8?q?L=20key=20bindings=20when=20mapping=20bindings=20to=20current?= =?UTF-8?q?=20keymap?= 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(-) 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); } }