remove superfluous check for input_type

This condition is already enforced in grab_all_keys().
This commit is contained in:
Michael Stapelberg 2016-08-02 19:31:23 +02:00
parent 85bb32409f
commit afb90a0f97
1 changed files with 0 additions and 3 deletions

View 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 { \