X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;ds=sidebyside;f=event.c;h=650967ea335817a13bc09279236e398504315f98;hb=9fce8215b7c1b95903adbfd0cb7d6e2822ea063f;hp=25ed6faad4054962bec61348a59795d925d757c5;hpb=6521c2dd4160099616fa10035aa0f0e595c86204;p=dwm.git diff --git a/event.c b/event.c index 25ed6fa..650967e 100644 --- a/event.c +++ b/event.c @@ -132,8 +132,7 @@ buttonpress(XEvent *e) movemouse(c); break; case Button2: - if(!c->ismax && arrange != dofloat && !c->isfloat) - zoom(NULL); + zoom(NULL); break; case Button3: if(!c->ismax && (arrange == dofloat || c->isfloat))