Patch deprecated XKeycodeToKeysym call