aewl

diff view.c @ 479:de69a7b0c8fa

fixed issue pointed out by Jukka
author arg@mmvi
date Fri, 22 Sep 2006 11:49:24 +0200
parents 2d8af0d7920d
children 680aca428830
line diff
     1.1 --- a/view.c	Fri Sep 22 11:24:01 2006 +0200
     1.2 +++ b/view.c	Fri Sep 22 11:49:24 2006 +0200
     1.3 @@ -278,10 +278,10 @@
     1.4  		return;
     1.5  
     1.6  	if(sel->isfloat || (arrange == dofloat)) {
     1.7 -		tmp = sel->x; sel->x = sel->rx; sel->rx = tmp;
     1.8 -		tmp = sel->y; sel->y = sel->ry; sel->ry = tmp;
     1.9 -		tmp = sel->w; sel->w = sel->rw; sel->rw = tmp;
    1.10 -		tmp = sel->h; sel->h = sel->rh; sel->rh = tmp;
    1.11 +		sel->x = sx;
    1.12 +		sel->y = bh;
    1.13 +		sel->w = sw;
    1.14 +		sel->h = sh - bh;
    1.15  		resize(sel, True, TopLeft);
    1.16  		while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));
    1.17  		return;