aewl

changeset 248:1227c21588e2

applied Sanders zoom_update patch
author Anselm R.Garbe <arg@10ksloc.org>
date Thu, 10 Aug 2006 17:48:50 +0200
parents c45ba25c3d26
children 5d7b7ff7a289
files client.c event.c
diffstat 2 files changed, 2 insertions(+), 3 deletions(-) [+]
line diff
     1.1 --- a/client.c	Thu Aug 10 17:33:11 2006 +0200
     1.2 +++ b/client.c	Thu Aug 10 17:48:50 2006 +0200
     1.3 @@ -461,7 +461,7 @@
     1.4  {
     1.5  	Client *c;
     1.6  
     1.7 -	if(!sel || (arrange != dotile) || sel->isfloat)
     1.8 +	if(!sel || (arrange != dotile) || sel->isfloat || sel->ismax)
     1.9  		return;
    1.10  
    1.11  	if(sel == getnext(clients))  {
     2.1 --- a/event.c	Thu Aug 10 17:33:11 2006 +0200
     2.2 +++ b/event.c	Thu Aug 10 17:48:50 2006 +0200
     2.3 @@ -132,8 +132,7 @@
     2.4  				movemouse(c);
     2.5  			break;
     2.6  		case Button2:
     2.7 -			if(!c->ismax && arrange != dofloat && !c->isfloat)
     2.8 -				zoom(NULL);
     2.9 +			zoom(NULL);
    2.10  			break;
    2.11  		case Button3:
    2.12  			if(!c->ismax && (arrange == dofloat || c->isfloat))