aboutsummaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-01-22 10:22:58 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-01-22 10:22:58 +0100
commitb233089815367983e07939b2aabb999fdc359f91 (patch)
tree5888837d10ed0359cfbdbadaa9bcf37d30f7a022 /view.c
parent201c56f6d36e7f895c465f534fdb90e3d9e4ca18 (diff)
downloaddwm-b233089815367983e07939b2aabb999fdc359f91.tar.gz
dwm-b233089815367983e07939b2aabb999fdc359f91.tar.bz2
dwm-b233089815367983e07939b2aabb999fdc359f91.zip
applied Sanders all5.patch (thanks for your weekend session, Sander!)
Diffstat (limited to 'view.c')
-rw-r--r--view.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/view.c b/view.c
index fd07fc5..81dd4b3 100644
--- a/view.c
+++ b/view.c
@@ -31,7 +31,7 @@ togglemax(Client *c) {
c->w = c->rw;
c->h = c->rh;
}
- resize(c, True, TopLeft);
+ resize(c, True);
while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));
}
@@ -56,7 +56,7 @@ dofloat(void) {
for(c = clients; c; c = c->next) {
if(isvisible(c)) {
- resize(c, True, TopLeft);
+ resize(c, True);
}
else
XMoveWindow(dpy, c->win, c->x + 2 * sw, c->y);
@@ -84,7 +84,7 @@ dotile(void) {
for(i = 0, c = clients; c; c = c->next)
if(isvisible(c)) {
if(c->isfloat) {
- resize(c, True, TopLeft);
+ resize(c, True);
continue;
}
c->ismax = False;
@@ -105,7 +105,7 @@ dotile(void) {
else /* fallback if th < bh */
c->h = wah - 2 * BORDERPX;
}
- resize(c, False, TopLeft);
+ resize(c, False);
i++;
}
else