against X.Org 1.8.X and newer. Othewrise keysyms are not mapped correctly to keycodes. Reference: https://bugzilla.redhat.com/show_bug.cgi?id=586406 git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4057 3789f03b-4d11-0410-bbf8-ca57d06f2519tags/v1.0.90
@@ -712,7 +712,12 @@ static KeySym KeyCodetoKeySym(KeySymsPtr keymap, int keycode, int col) | |||
} | |||
if ((per <= (col|1)) || (syms[col|1] == NoSymbol)) { | |||
XConvertCase(syms[col&~1], &lsym, &usym); | |||
#if XORG >= 18 | |||
XkbConvertCase | |||
#else | |||
XConvertCase | |||
#endif | |||
(syms[col&~1], &lsym, &usym); | |||
if (!(col & 1)) | |||
return lsym; | |||
/* |