dwm-meillo

diff view.c @ 687:a76799907854

removed client title bar
author Anselm R. Garbe <arg@suckless.org>
date Sun, 14 Jan 2007 22:27:29 +0100
parents 76b58d21ea98
children 39fa5308d73f
line diff
     1.1 --- a/view.c	Fri Jan 12 21:56:01 2007 +0100
     1.2 +++ b/view.c	Sun Jan 14 22:27:29 2007 +0100
     1.3 @@ -59,7 +59,7 @@
     1.4  			resize(c, True, TopLeft);
     1.5  		}
     1.6  		else
     1.7 -			ban(c);
     1.8 +			XMoveWindow(dpy, c->win, c->x + 2 * sw, c->y);
     1.9  	}
    1.10  	if(!sel || !isvisible(sel)) {
    1.11  		for(c = stack; c && !isvisible(c); c = c->snext);
    1.12 @@ -109,8 +109,7 @@
    1.13  			i++;
    1.14  		}
    1.15  		else
    1.16 -			ban(c);
    1.17 -
    1.18 +			XMoveWindow(dpy, c->win, c->x + 2 * sw, c->y);
    1.19  	if(!sel || !isvisible(sel)) {
    1.20  		for(c = stack; c && !isvisible(c); c = c->snext);
    1.21  		focus(c);
    1.22 @@ -191,19 +190,14 @@
    1.23  		drawstatus();
    1.24  		return;
    1.25  	}
    1.26 -	if(sel->isfloat || arrange == dofloat) {
    1.27 +	if(sel->isfloat || arrange == dofloat)
    1.28  		XRaiseWindow(dpy, sel->win);
    1.29 -		XRaiseWindow(dpy, sel->twin);
    1.30 -	}
    1.31  	if(arrange != dofloat) {
    1.32 -		if(!sel->isfloat) {
    1.33 -			XLowerWindow(dpy, sel->twin);
    1.34 +		if(!sel->isfloat)
    1.35  			XLowerWindow(dpy, sel->win);
    1.36 -		}
    1.37  		for(c = nexttiled(clients); c; c = nexttiled(c->next)) {
    1.38  			if(c == sel)
    1.39  				continue;
    1.40 -			XLowerWindow(dpy, c->twin);
    1.41  			XLowerWindow(dpy, c->win);
    1.42  		}
    1.43  	}