[PATCH 3/4] server: Recompute `frame` from flags in redraw_window().