Replace the deprecated XKeycodeToKeysym with XkbKeycodeToKeysym