add window_switch to redraw now hooks