changeset 133:467ad2d3a6fa

applied sanders maxfix patch
author arg@10ksloc.org
date Fri, 21 Jul 2006 10:07:41 +0200 (2006-07-21)
parents 59e997ca04a6
children eb8580a97d56
files event.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);
 			}