Explorar o código

applied sanders maxfix patch

arg@10ksloc.org %!s(int64=19) %!d(string=hai) anos
pai
achega
0c7bcc24cb
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      event.c

+ 2 - 2
event.c

@@ -170,7 +170,7 @@ buttonpress(XEvent *e)
 		default:
 			break;
 		case Button1:
-			if(arrange == dofloat || c->isfloat) {
+			if(!c->ismax && (arrange == dofloat || c->isfloat)) {
 				higher(c);
 				movemouse(c);
 			}
@@ -179,7 +179,7 @@ buttonpress(XEvent *e)
 			lower(c);
 			break;
 		case Button3:
-			if(arrange == dofloat || c->isfloat) {
+			if(!c->ismax && (arrange == dofloat || c->isfloat)) {
 				higher(c);
 				resizemouse(c);
 			}