applied sanders maxfix patch

This commit is contained in:
arg@10ksloc.org 2006-07-21 10:07:41 +02:00
parent 98c6a92eb5
commit 0c7bcc24cb

View File

@ -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);
}