X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=event.c;h=650967ea335817a13bc09279236e398504315f98;hb=9fce8215b7c1b95903adbfd0cb7d6e2822ea063f;hp=25ed6faad4054962bec61348a59795d925d757c5;hpb=fde45ebed844c227a17c21d161f60aa55c8b3c41;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))