X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=event.c;h=d5f4aa8622dd428e2a65ad2a47ee5b8f5c8eb6e9;hb=d800ec05ff63451193a0b858c114f5144534c2a1;hp=3783eb45e98e08c41b8619b829d6b5444ab1f044;hpb=bda53ac6ad834824e8e5d5678ccd638a122c173a;p=dwm.git diff --git a/event.c b/event.c index 3783eb4..d5f4aa8 100644 --- a/event.c +++ b/event.c @@ -130,7 +130,7 @@ buttonpress(XEvent *e) { } else if((c = getclient(ev->window))) { focus(c); - if(maximized || CLEANMASK(ev->state) != MODKEY) + if(CLEANMASK(ev->state) != MODKEY) return; if(ev->button == Button1 && (arrange == dofloat || c->isfloat)) { restack(c); @@ -170,7 +170,7 @@ configurerequest(XEvent *e) { XWindowChanges wc; if((c = getclient(ev->window))) { - if((c == sel) && !c->isfloat && (arrange != dofloat) && maximized) { + if((c == sel) && !c->isfloat && (arrange != dofloat)) { synconfig(c, sx, sy + bh, sw - 2, sh - 2 - bh, ev->border_width); XSync(dpy, False); return;