tprevent pop() if first sel == nexttiled(clients) - dwm - [fork] customized build of dwm, the dynamic window manager
(HTM) git clone git://src.adamsgaard.dk/dwm
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit e9cfae7aba1c8eafd827854705bf0d11d2de2dfb
(DIR) parent 7ac0de8350c51ef39e4dee5f60e1da641c4fbd5b
(HTM) Author: Anselm R. Garbe <arg@suckless.org>
Date: Fri, 5 Jan 2007 21:56:57 +0100
prevent pop() if first sel == nexttiled(clients)
Diffstat:
M config.mk | 4 ++--
M view.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/config.mk b/config.mk
t@@ -17,8 +17,8 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
# 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}\"
(DIR) diff --git a/view.c b/view.c
t@@ -261,7 +261,7 @@ zoom(Arg *arg) {
n++;
c = sel;
- if(arrange != dofloat) {
+ if((arrange != dofloat) && c != nexttiled(clients)) {
detach(c);
if(clients)
clients->prev = c;