improvement: save/restore XKLAVIER_STATE Xwindow atom on pull-up/pull-down