Replace depricated XKeycodeToKeysym with XkbKeycodeToKeysym.