aewl

diff view.c @ 654:04734db9a219

allowing zoom within master area as well
author Anselm R. Garbe <arg@suckless.org>
date Fri, 05 Jan 2007 15:08:25 +0100
parents b9f4efd21473
children c30805f6bb08
line diff
     1.1 --- a/view.c	Fri Jan 05 15:04:49 2007 +0100
     1.2 +++ b/view.c	Fri Jan 05 15:08:25 2007 +0100
     1.3 @@ -302,10 +302,11 @@
     1.4  	}
     1.5  	for(n = 0, c = nexttiled(clients); c; c = nexttiled(c->next))
     1.6  		n++;
     1.7 +
     1.8 +	c = sel;
     1.9  	if(n <= nmaster || (arrange == dofloat))
    1.10 -		return;
    1.11 -
    1.12 -	if(ismaster((c = sel))) {
    1.13 +		pop(c);
    1.14 +	else if(ismaster(sel)) {
    1.15  		if(!(c = topofstack()))
    1.16  			return;
    1.17  		swap(c, sel);