Re: server: return active window if foreground window is set