prevent pop() if first sel == nexttiled(clients)
This commit is contained in:
parent
7ac0de8350
commit
e9cfae7aba
2 changed files with 3 additions and 3 deletions
|
@ -17,8 +17,8 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
|
||||||
# flags
|
# flags
|
||||||
CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
|
CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
|
||||||
LDFLAGS = ${LIBS}
|
LDFLAGS = ${LIBS}
|
||||||
CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
|
#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
|
||||||
LDFLAGS = -g ${LIBS}
|
#LDFLAGS = -g ${LIBS}
|
||||||
|
|
||||||
# Solaris
|
# Solaris
|
||||||
#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
|
#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
|
||||||
|
|
2
view.c
2
view.c
|
@ -261,7 +261,7 @@ zoom(Arg *arg) {
|
||||||
n++;
|
n++;
|
||||||
|
|
||||||
c = sel;
|
c = sel;
|
||||||
if(arrange != dofloat) {
|
if((arrange != dofloat) && c != nexttiled(clients)) {
|
||||||
detach(c);
|
detach(c);
|
||||||
if(clients)
|
if(clients)
|
||||||
clients->prev = c;
|
clients->prev = c;
|
||||||
|
|
Loading…
Reference in a new issue