-static RReg *rreg = NULL;
-static unsigned int len = 0;
-
-void (*arrange)(Arg *) = DEFMODE;
-
-/* extern */
-
-void
-dofloat(Arg *arg)
-{
- Client *c;
-
- for(c = clients; c; c = c->next) {
- c->ismax = False;
- if(isvisible(c)) {
- resize(c, True, TopLeft);
- }
- else
- ban(c);
- }
- if(!sel || !isvisible(sel))
- sel = getnext(clients);
- if(sel) {
- focus(sel);
- restack();
- }
- else
- XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime);
-}
-
-void
-dotile(Arg *arg)
-{
- int h, i, n, w;
- Client *c;
-
- w = sw - mw;
- for(n = 0, c = clients; c; c = c->next)
- if(isvisible(c) && !c->isfloat)
- n++;