2 * (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
3 * See LICENSE file for license details.
8 void (*arrange)(Arg *) = tiling;
18 for(c = clients; c; c = getnext(c->next))
29 for(c = clients; c; c = c->next) {
35 if(sel && !sel->tags[tsel]) {
36 if((sel = getnext(clients))) {
52 for(n = 0, c = clients; c; c = c->next)
53 if(c->tags[tsel] && !c->floating)
57 h = (sh - bh) / (n - 1);
61 for(i = 0, c = clients; c; c = c->next) {
71 c->w = sw - 2 * c->border;
72 c->h = sh - 2 * c->border - bh;
77 c->w = mw - 2 * c->border;
78 c->h = sh - 2 * c->border - bh;
82 c->y = sy + (i - 1) * h + bh;
83 c->w = w - 2 * c->border;
84 c->h = h - 2 * c->border;
92 if(!sel || (sel && !sel->tags[tsel])) {
93 if((sel = getnext(clients))) {