+ if(!sel)
+ return;
+
+ if(sel->isfloat || (arrange == dofloat)) {
+ tmp = sel->x; sel->x = sel->rx; sel->rx = tmp;
+ tmp = sel->y; sel->y = sel->ry; sel->ry = tmp;
+ tmp = sel->w; sel->w = sel->rw; sel->rw = tmp;
+ tmp = sel->h; sel->h = sel->rh; sel->rh = tmp;
+ resize(sel, True, TopLeft);
+ while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));
+ return;
+ }
+
+ for(n = 0, c = clients; c; c = c->next)
+ if(isvisible(c) && !c->isfloat)
+ n++;
+ if(n < 2 || (arrange != dotile))