wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit 77409a5bb461749196a861883c1f9bc001e46448
parent bc8475d68fefb288eb0e44873d15e18b351f6179
Author: Sander van Dijk <sander@wmii.de>
Date:   Fri, 17 Mar 2006 21:59:27 +0100

whoops...


Diffstat:
cmd/wm/area.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmd/wm/area.c b/cmd/wm/area.c @@ -401,7 +401,7 @@ drop_resize(Frame *f, XRectangle *new) /* horizontal resize */ if(west && (new->x != f->rect.x)) { if(new->x < 0 || new->x < (west->rect.x + min)) { - new->width -= (west->rect.x + west->rect.width) - new->x; + new->width -= (west->rect.x + min) - new->x; new->x = west->rect.x + min; } west->rect.width = new->x - west->rect.x; @@ -428,7 +428,7 @@ drop_resize(Frame *f, XRectangle *new) /* vertical resize */ if(north && (new->y != f->rect.y)) { if(new->y < 0 || new->y < (north->rect.y + min)) { - new->height -= (north->rect.y + north->rect.height) - new->y; + new->height -= (north->rect.y + min) - new->y; new->y = north->rect.y + min; } north->rect.height = new->y - north->rect.y;