applied Sanders zoom_update patch
authorAnselm R.Garbe <arg@10ksloc.org>
Thu, 10 Aug 2006 17:48:50 +0200
changeset 248 1227c21588e2
parent 247 c45ba25c3d26
child 249 5d7b7ff7a289
applied Sanders zoom_update patch
client.c
event.c
--- a/client.c	Thu Aug 10 17:33:11 2006 +0200
+++ b/client.c	Thu Aug 10 17:48:50 2006 +0200
@@ -461,7 +461,7 @@
 {
 	Client *c;
 
-	if(!sel || (arrange != dotile) || sel->isfloat)
+	if(!sel || (arrange != dotile) || sel->isfloat || sel->ismax)
 		return;
 
 	if(sel == getnext(clients))  {
--- a/event.c	Thu Aug 10 17:33:11 2006 +0200
+++ b/event.c	Thu Aug 10 17:48:50 2006 +0200
@@ -132,8 +132,7 @@
 				movemouse(c);
 			break;
 		case Button2:
-			if(!c->ismax && arrange != dofloat && !c->isfloat)
-				zoom(NULL);
+			zoom(NULL);
 			break;
 		case Button3:
 			if(!c->ismax && (arrange == dofloat || c->isfloat))