Applied XKeycodeToKeysym deprecated patch.