On Fri, 17 Jan 2003, Uwe Siems wrote:

>If a program uses XRebindKeysym to map some keys to other characters, XLookupString 
>doesn't seem to honor the state of the
>"mode_switch" key - AltGr on German keyboards - regardless of which key was mapped. 
>You get the character you would normally get without the "mode_switch" key.
>
>Repeat By:
>
>Insert this line in the xev program:
>
>XRebindKeysym (dpy, /*XK_KP_Insert*/ 0xFF9E, NULL, 0, "pipapo", 6);
>
>e.g. directly behind the XOpenDisplay in main.
>Now try getting a character with AltGr in xev. Doesn't work, you get the wrong one. 
>Older X versions (3.3.6) work.

Some further information:
I tried the same xev binary from a different (old 3.3.6) X server, and
this time it worked. But the "state" field of the key event was 0x20,
instead of 0x2000 for the non-working X server. Maybe this is part of the
problem?


Greetings
Uwe Siems



_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to