XKeycodeToKeysym should be listed as deprecated in the man page (and probably _X_DEPRECATED)
Submitted by paurea
Assigned to Xorg Project Team
XKeycodeToKeysym gives different result than XGetKeyboardMapping, apparently the Alt_Gr symbols dont appear in XKeycodeToKeysym. I am usign version 6.8.2.dfsg.1-9 in debian. If needed, I can provide code and more explanation. The same program works perfectly in XFree86 v4 and in Xvnc.