diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/keybindings.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2003-01-30 Havoc Pennington <hp@redhat.com> + + * src/keybindings.c (process_event): match handlers to key events + using key codes, not key syms + 2003-02-03 Tõivo Leedjärv <toivo@linux.ee> * configure.in: Added et to ALL_LINGUAS diff --git a/src/keybindings.c b/src/keybindings.c index fbc9de46..2190091e 100644 --- a/src/keybindings.c +++ b/src/keybindings.c @@ -1415,7 +1415,7 @@ process_event (MetaKeyBinding *bindings, i = 0; while (i < n_bindings) { - if (bindings[i].keysym == keysym && + if (bindings[i].keycode == event->xkey.keycode && ((event->xkey.state & ~(display->ignored_modifier_mask)) == bindings[i].mask) && event->type == KeyPress) |