Fix deprecated XKeycodeToKeysym by replacing with XkbKeycodeToKeysym