From: Michael Stapelberg Date: Tue, 2 Aug 2016 17:31:23 +0000 (+0200) Subject: remove superfluous check for input_type X-Git-Tag: 4.13~58 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=afb90a0f9706d2800b0a3f8646f35b9e4d90b38b;p=i3%2Fi3 remove superfluous check for input_type This condition is already enforced in grab_all_keys(). --- 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 { \