pinosaur
/
dwm.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
applied anudots [un]ban repair patch
[dwm.git]
/
layout.c
diff --git
a/layout.c
b/layout.c
index
ecd7a16
..
0706c62
100644
(file)
--- a/
layout.c
+++ b/
layout.c
@@
-88,9
+88,7
@@
floating(void) {
for(c = clients; c; c = c->next)
if(isvisible(c)) {
for(c = clients; c; c = c->next)
if(isvisible(c)) {
- if(c->isbanned)
- XMoveWindow(dpy, c->win, c->x, c->y);
- c->isbanned = False;
+ unban(c);
resize(c, c->x, c->y, c->w, c->h, True);
}
else
resize(c, c->x, c->y, c->w, c->h, True);
}
else
@@
-243,7
+241,7
@@
togglemax(const char *arg) {
sel->ry = sel->y;
sel->rw = sel->w;
sel->rh = sel->h;
sel->ry = sel->y;
sel->rw = sel->w;
sel->rh = sel->h;
- resize(sel, wax, way, waw - 2 *
BORDERPX, wah - 2 * BORDERPX
, True);
+ resize(sel, wax, way, waw - 2 *
sel->border, wah - 2 * sel->border
, True);
}
else
resize(sel, sel->rx, sel->ry, sel->rw, sel->rh, True);
}
else
resize(sel, sel->rx, sel->ry, sel->rw, sel->rh, True);