From afb90a0f9706d2800b0a3f8646f35b9e4d90b38b Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 2 Aug 2016 19:31:23 +0200 Subject: [PATCH] remove superfluous check for input_type This condition is already enforced in grab_all_keys(). --- src/bindings.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/bindings.c b/src/bindings.c index 759cfff9..ed6ce608 100644 --- a/src/bindings.c +++ b/src/bindings.c @@ -99,9 +99,6 @@ Binding *configure_binding(const char *bindtype, const char *modifiers, const ch } static void grab_keycode_for_binding(xcb_connection_t *conn, Binding *bind, uint32_t keycode) { - if (bind->input_type != B_KEYBOARD) - return; - /* Grab the key in all combinations */ #define GRAB_KEY(modifier) \ do { \ -- 2.39.5