Zooms/cycles current window to/from master area (tiling mode), toggles maximization current window (floating mode).
.TP
.B Mod1-g
-Grow current area (tiling mode only).
+Grow master area (tiling mode only).
.TP
.B Mod1-s
-Shrink current area (tiling mode only).
+Shrink master area (tiling mode only).
.TP
.B Mod1-Shift-[1..n]
Apply
void
resizecol(Arg *arg) {
- unsigned int n;
- Client *c;
-
- for(n = 0, c = clients; c; c = c->next)
- if(isvisible(c) && !c->isfloat)
- n++;
- if(!sel || sel->isfloat || n < 2 || (arrange == dofloat))
+ if(master + arg->i > 950 || master + arg->i < 50)
return;
- if(sel == getnext(clients)) {
- if(master + arg->i > 950 || master + arg->i < 50)
- return;
- master += arg->i;
- }
- else {
- if(master - arg->i > 950 || master - arg->i < 50)
- return;
- master -= arg->i;
- }
+ master += arg->i;
arrange();
}