1
0

applied endless loop prevention on zoom()

This commit is contained in:
arg@10ksloc.org 2006-08-07 08:05:04 +02:00
parent 5ef6ef1bac
commit 525ef3c178

View File

@ -469,9 +469,11 @@ zoom(Arg *arg)
if(!sel || (arrange != dotile) || sel->isfloat)
return;
if(sel == getnext(clients) && sel->next) {
if(sel == getnext(clients)) {
if((c = getnext(sel->next)))
sel = c;
else
return;
}
/* pop */