all repos — dwm @ e9cfae7aba1c8eafd827854705bf0d11d2de2dfb

my dwm build

prevent pop() if first sel == nexttiled(clients)
Anselm R. Garbe arg@suckless.org
Fri, 05 Jan 2007 21:56:57 +0100
commit

e9cfae7aba1c8eafd827854705bf0d11d2de2dfb

parent

7ac0de8350c51ef39e4dee5f60e1da641c4fbd5b

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

jump to
M config.mkconfig.mk

@@ -17,8 +17,8 @@

# flags CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" LDFLAGS = ${LIBS} -CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" -LDFLAGS = -g ${LIBS} +#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" +#LDFLAGS = -g ${LIBS} # Solaris #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
M view.cview.c

@@ -261,7 +261,7 @@ for(n = 0, c = nexttiled(clients); c; c = nexttiled(c->next))

n++; c = sel; - if(arrange != dofloat) { + if((arrange != dofloat) && c != nexttiled(clients)) { detach(c); if(clients) clients->prev = c;