diff options
author | arg@mmvi <unknown> | 2006-09-22 07:37:56 +0200 |
---|---|---|
committer | arg@mmvi <unknown> | 2006-09-22 07:37:56 +0200 |
commit | d800ec05ff63451193a0b858c114f5144534c2a1 (patch) | |
tree | cc6261bca4c022b6a22d0a1568bf3ea3ec4c9c06 /event.c | |
parent | bda53ac6ad834824e8e5d5678ccd638a122c173a (diff) |
implemented the maximization as I described on the mailinglist, this feels better to me.
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |