fix some window manager dependant kbd stuff