Replace call to deprecated XKeycodeToKeysym with a call to XkbKeycodeToKeysym