Include private
Replace deprecated XKeycodeToKeysym. Reduce global namespace pollution.