projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ac0de8
)
prevent pop() if first sel == nexttiled(clients)
author
Anselm R. Garbe
<arg@suckless.org>
Fri, 5 Jan 2007 20:56:57 +0000
(21:56 +0100)
committer
Anselm R. Garbe
<arg@suckless.org>
Fri, 5 Jan 2007 20:56:57 +0000
(21:56 +0100)
config.mk
patch
|
blob
|
history
view.c
patch
|
blob
|
history
diff --git
a/config.mk
b/config.mk
index f65e6fcba860b23cda47d012d2ee68f676895d71..1d73f2be90eb5773fd82cba579892876158c9364 100644
(file)
--- a/
config.mk
+++ b/
config.mk
@@
-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}\"
diff --git
a/view.c
b/view.c
index ffa22a17582461939bfa65c33ffff3bbc9a6da8d..503f1c2ba46377e2fad3b60d2332b0c5fc320ad4 100644
(file)
--- a/
view.c
+++ b/
view.c
@@
-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;