Convert uses of XKeycodeToKeysym (deprecated) to XkbKeycodeToKeysym

patch supplied from Peter G.
This commit is contained in:
Jon Trulson
2020-03-23 12:51:18 -06:00
parent 6f1a110e1d
commit 15a2032626
6 changed files with 9 additions and 9 deletions

View File

@@ -1326,7 +1326,7 @@ QueryServerSettings( void )
return(-1);
}
}
tmpMod = XKeycodeToKeysym(smGD.display, modMap->modifiermap[i], 0);
tmpMod = XkbKeycodeToKeysym(smGD.display, modMap->modifiermap[i], 0, 0);
sprintf(tmpChar,"%ld", tmpMod);
strcat(resSpec, tmpChar);
if(i != numLoops)