Last night I decided to debug this issue, and it turns out,
that X sets some additional bits in the state of the XKeyEvent,
when an alternate xkb group is used.
(I did not really search for documentation about this thing,
so it might be, that this is a well known thing.)

Ion doesn't expect this, so it waits for the release of this
additional modifier. I was able to somehow fix this, with the
appended patch. But I don't know anything about X programming,
so this is probably not the best way of fixing this issue.

Andreas
--- ioncore/binding.c	2008-04-11 17:03:30.000000000 +0200
+++ ioncore/binding.c	2008-05-22 10:30:25.000000000 +0200
@@ -54,7 +54,10 @@
     XK_Num_Lock, XK_Scroll_Lock
 };
 
-static uint evilignoremask=LockMask;
+#define Group2Mask  (1<<13)
+#define Group3Mask  (1<<14)
+
+static uint evilignoremask=LockMask | Group2Mask | Group3Mask;
 
 static void lookup_evil_locks();
 

Reply via email to