all repos — dwm @ f18ed615ae7beb9eb6420510c83beb847d875bcb

my dwm build

small fix
Anselm R. Garbe arg@10kloc.org
Wed, 06 Sep 2006 10:03:21 +0200
commit

f18ed615ae7beb9eb6420510c83beb847d875bcb

parent

f6656fffb4e0c6a9a59e2669da4f7bebda19f08e

2 files changed, 3 insertions(+), 2 deletions(-)

jump to
M main.cmain.c

@@ -55,6 +55,7 @@ XFreeGC(dpy, dc.gc);

XDestroyWindow(dpy, barwin); XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime); XSync(dpy, False); + free(seltag); } static void
M view.cview.c

@@ -41,7 +41,7 @@

static Client * nexttiled(Client *c) { - for(c = getnext(c->next); c && c->isfloat; c = getnext(c->next)); + for(c = getnext(c); c && c->isfloat; c = getnext(c->next)); return c; }

@@ -325,7 +325,7 @@ if(!sel || sel->isfloat || n < 2 || (arrange != dotile) || maximized)

return; if((c = sel) == nexttiled(clients)) - if(!(c = nexttiled(c))) + if(!(c = nexttiled(c->next))) return; detach(c); c->next = clients;