event.c
changeset 133 467ad2d3a6fa
parent 130 30d1302dbe3b
child 137 77922a389fa8
--- a/event.c	Fri Jul 21 09:59:11 2006 +0200
+++ b/event.c	Fri Jul 21 10:07:41 2006 +0200
@@ -170,7 +170,7 @@
 		default:
 			break;
 		case Button1:
-			if(arrange == dofloat || c->isfloat) {
+			if(!c->ismax && (arrange == dofloat || c->isfloat)) {
 				higher(c);
 				movemouse(c);
 			}
@@ -179,7 +179,7 @@
 			lower(c);
 			break;
 		case Button3:
-			if(arrange == dofloat || c->isfloat) {
+			if(!c->ismax && (arrange == dofloat || c->isfloat)) {
 				higher(c);
 				resizemouse(c);
 			}