new API in xkb-switch-win