dwm-meillo
diff event.c @ 473:2d8af0d7920d
implemented the maximization as I described on the mailinglist, this feels better to me.
author | arg@mmvi |
---|---|
date | Fri, 22 Sep 2006 07:37:56 +0200 |
parents | ad3fa2d18542 |
children | 3e4596240abb |
line diff
1.1 --- a/event.c Wed Sep 20 09:53:21 2006 +0200 1.2 +++ b/event.c Fri Sep 22 07:37:56 2006 +0200 1.3 @@ -130,7 +130,7 @@ 1.4 } 1.5 else if((c = getclient(ev->window))) { 1.6 focus(c); 1.7 - if(maximized || CLEANMASK(ev->state) != MODKEY) 1.8 + if(CLEANMASK(ev->state) != MODKEY) 1.9 return; 1.10 if(ev->button == Button1 && (arrange == dofloat || c->isfloat)) { 1.11 restack(c); 1.12 @@ -170,7 +170,7 @@ 1.13 XWindowChanges wc; 1.14 1.15 if((c = getclient(ev->window))) { 1.16 - if((c == sel) && !c->isfloat && (arrange != dofloat) && maximized) { 1.17 + if((c == sel) && !c->isfloat && (arrange != dofloat)) { 1.18 synconfig(c, sx, sy + bh, sw - 2, sh - 2 - bh, ev->border_width); 1.19 XSync(dpy, False); 1.20 return;