From 05c10c5776738fdfe73c1e66e14c869e2e5e338d Mon Sep 17 00:00:00 2001 From: "arg@mmvi" Date: Fri, 22 Sep 2006 11:49:24 +0200 Subject: fixed issue pointed out by Jukka --- view.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'view.c') diff --git a/view.c b/view.c index fce7309d..bb322350 100644 --- a/view.c +++ b/view.c @@ -278,10 +278,10 @@ zoom(Arg *arg) { return; if(sel->isfloat || (arrange == dofloat)) { - tmp = sel->x; sel->x = sel->rx; sel->rx = tmp; - tmp = sel->y; sel->y = sel->ry; sel->ry = tmp; - tmp = sel->w; sel->w = sel->rw; sel->rw = tmp; - tmp = sel->h; sel->h = sel->rh; sel->rh = tmp; + sel->x = sx; + sel->y = bh; + sel->w = sw; + sel->h = sh - bh; resize(sel, True, TopLeft); while(XCheckMaskEvent(dpy, EnterWindowMask, &ev)); return; -- cgit v1.2.3