diff options
author | arg@mmvi <unknown> | 2006-09-22 11:49:24 +0200 |
---|---|---|
committer | arg@mmvi <unknown> | 2006-09-22 11:49:24 +0200 |
commit | 05c10c5776738fdfe73c1e66e14c869e2e5e338d (patch) | |
tree | e18fa7daa43bfbd370723bf248f9a6e91b8430ba /view.c | |
parent | b2cb925d999f0b745f8be23316258c4f575cb343 (diff) |
fixed issue pointed out by Jukka
Diffstat (limited to 'view.c')
-rw-r--r-- | view.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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; |