Remove the option to bind a key by keycode with brackets; it never
worked (and no one complained!). While it's fairly easy to fix, users should be using keysym names and not keycodes. Discussed at length months ago with todd@, matthieu@ and Owain.
This commit is contained in:
@@ -275,9 +275,7 @@ xev_handle_keypress(XEvent *ee)
|
||||
if ((kb->modmask | modshift) != e->state)
|
||||
continue;
|
||||
|
||||
if ((kb->keycode != 0 && kb->keysym == NoSymbol &&
|
||||
kb->keycode == e->keycode) || kb->keysym ==
|
||||
(modshift == 0 ? keysym : skeysym))
|
||||
if (kb->keysym == (modshift == 0 ? keysym : skeysym))
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user