prevent pop() if first sel == nexttiled(clients)

This commit is contained in:
Anselm R. Garbe committed 2007-01-05 21:56:57 +01:00
1 parent 7ac0de8350
commit e9cfae7aba
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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;