CoreWM: Window Switcher (better implementation)