c->h = wah - 2 * BORDERPX;
}
else if(i == 0) { /* master window */
- c->w = waw - stackw - 2 * BORDERPX;
+ c->w = mpx - 2 * BORDERPX;
c->h = wah - 2 * BORDERPX;
th = wah / (n - 1);
}
}
void
+togglefloat(Arg *arg) {
+ if (!sel)
+ return;
+ sel->isfloat = !sel->isfloat;
+ arrange();
+}
+
+void
togglemode(Arg *arg) {
arrange = (arrange == dofloat) ? dotile : dofloat;
if(sel)