applied sanders maxfix patch
This commit is contained in:
parent
98c6a92eb5
commit
0c7bcc24cb
4
event.c
4
event.c
|
@ -170,7 +170,7 @@ buttonpress(XEvent *e)
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
case Button1:
|
case Button1:
|
||||||
if(arrange == dofloat || c->isfloat) {
|
if(!c->ismax && (arrange == dofloat || c->isfloat)) {
|
||||||
higher(c);
|
higher(c);
|
||||||
movemouse(c);
|
movemouse(c);
|
||||||
}
|
}
|
||||||
|
@ -179,7 +179,7 @@ buttonpress(XEvent *e)
|
||||||
lower(c);
|
lower(c);
|
||||||
break;
|
break;
|
||||||
case Button3:
|
case Button3:
|
||||||
if(arrange == dofloat || c->isfloat) {
|
if(!c->ismax && (arrange == dofloat || c->isfloat)) {
|
||||||
higher(c);
|
higher(c);
|
||||||
resizemouse(c);
|
resizemouse(c);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue