diff options
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/event.c b/event.c index 58df281..aa07427 100644 --- a/event.c +++ b/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); } |