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 wrap: on
line diff
--- 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))