summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/keybindings.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 79e022ec..4d930e61 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)