why keymapping can not refresh?

Edgar Toernig froese at gmx.de
Mon Apr 6 13:00:51 PDT 2009


> my application has two process, I execute "xmodmap -e "keycode 255 = a""
> in the first process then in another process I use
> XKeycodeToKeysym(display, 255, 0) to get the keysymbol, but it reutrns 0.
>
> why keymapping can not refresh?
>
> how can I let the keymapping refresh?

Look for XRefreshKeyboardMapping and the MappingNotify event.

Ciao, ET.




More information about the xorg mailing list