aewl

changeset 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 99bc71d78a95
children 4cf9ab28b36c
files view.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
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);