--- a/config.mk Fri Jan 05 21:55:43 2007 +0100
+++ b/config.mk Fri Jan 05 21:56:57 2007 +0100
@@ -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}\"
--- a/view.c Fri Jan 05 21:55:43 2007 +0100
+++ b/view.c Fri Jan 05 21:56:57 2007 +0100
@@ -261,7 +261,7 @@
n++;
c = sel;
- if(arrange != dofloat) {
+ if((arrange != dofloat) && c != nexttiled(clients)) {
detach(c);
if(clients)
clients->prev = c;