WNewAutoFlow(win, on)
struct win *win;
int on;
{
  debug1("WNewAutoFlow: %d\n", on);
  if (win->w_flow & FLOW_AUTOFLAG)
    win->w_flow = FLOW_AUTOFLAG | (FLOW_AUTO|FLOW_NOW) * on;
  else
    win->w_flow = (win->w_flow & ~FLOW_AUTO) | FLOW_AUTO * on;
  LSetFlow(&win->w_layer, win->w_flow & FLOW_NOW);
}
WNewAutoFlow(win, on)
struct win *win;
int on;
{
  debug1("WNewAutoFlow: %d\n", on);
  if (win->w_flow & FLOW_AUTOFLAG)
    win->w_flow = FLOW_AUTOFLAG | (FLOW_AUTO|FLOW_NOW) * on;
  else
    win->w_flow = (win->w_flow & ~FLOW_AUTO) | FLOW_AUTO * on;
  LSetFlow(&win->w_layer, win->w_flow & FLOW_NOW);
}