]> git.sur5r.net Git - i3/i3/blobdiff - src/bindings.c
remove superfluous check for input_type
[i3/i3] / src / bindings.c
index 759cfff96926d401b1271a28f20ea1ec0032d33f..ed6ce60846f85fcd874e5fca4f65a323bc5c95cf 100644 (file)
@@ -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 {                                                                                         \