summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-01-05 21:56:57 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-01-05 21:56:57 +0100
commite9cfae7aba1c8eafd827854705bf0d11d2de2dfb (patch)
tree7df19e62e6f09f8a07beab7ff14fb75a0ba86c35
parentremoved swap(), implemented pop for everything (diff)
downloaddwm-e9cfae7aba1c8eafd827854705bf0d11d2de2dfb.tar.gz
dwm-e9cfae7aba1c8eafd827854705bf0d11d2de2dfb.zip
prevent pop() if first sel == nexttiled(clients)
Diffstat (limited to '')
-rw-r--r--config.mk4
-rw-r--r--view.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/config.mk b/config.mk
index f65e6fc..1d73f2b 100644
--- a/config.mk
+++ b/config.mk
@@ -17,8 +17,8 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
17# flags 17# flags
18CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" 18CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
19LDFLAGS = ${LIBS} 19LDFLAGS = ${LIBS}
20CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" 20#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
21LDFLAGS = -g ${LIBS} 21#LDFLAGS = -g ${LIBS}
22 22
23# Solaris 23# Solaris
24#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" 24#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
diff --git a/view.c b/view.c
index ffa22a1..503f1c2 100644
--- a/view.c
+++ b/view.c
@@ -261,7 +261,7 @@ zoom(Arg *arg) {
261 n++; 261 n++;
262 262
263 c = sel; 263 c = sel;
264 if(arrange != dofloat) { 264 if((arrange != dofloat) && c != nexttiled(clients)) {
265 detach(c); 265 detach(c);
266 if(clients) 266 if(clients)
267 clients->prev = c; 267 clients->prev = c;