all repos — dwm @ 4ad20ffc2c23d29329bc7349985d889f2cb45612

my dwm build

fixed
Anselm R.Garbe arg@10ksloc.org
Mon, 14 Aug 2006 17:48:54 +0200
commit

4ad20ffc2c23d29329bc7349985d889f2cb45612

parent

57e6e3bb80b5fc4709de3f8b716a8b8065897c7a

2 files changed, 5 insertions(+), 9 deletions(-)

jump to
M client.cclient.c

@@ -49,10 +49,12 @@

void focus(Client *c) { - if (!issel) - return; Client *old = sel; + if (!issel) + return; + if(sel && sel->ismax) + togglemax(NULL); sel = c; if(old && old != c) drawtitle(old);

@@ -68,9 +70,6 @@

if(!sel) return; - if(sel->ismax) - togglemax(NULL); - if(!(c = getnext(sel->next))) c = getnext(clients); if(c) {

@@ -86,9 +85,6 @@ Client *c;

if(!sel) return; - - if(sel->ismax) - togglemax(NULL); if(!(c = getprev(sel->prev))) { for(c = clients; c && c->next; c = c->next);
M event.cevent.c

@@ -144,11 +144,11 @@

static void configurerequest(XEvent *e) { + unsigned long newmask; Client *c; XConfigureRequestEvent *ev = &e->xconfigurerequest; XEvent synev; XWindowChanges wc; - unsigned long newmask; if((c = getclient(ev->window))) { gravitate(c, True);