applied Szabolcs proposal for zoom() as well

This commit is contained in:
Anselm R. Garbe 2007-05-22 11:29:59 +02:00
parent 81658eaab3
commit 8439369db9

View File

@ -247,7 +247,7 @@ void
zoom(const char *arg) {
Client *c;
if(!sel || lt->arrange != tile || sel->isfloating)
if(!sel || lt->arrange == floating || sel->isfloating)
return;
if((c = sel) == nexttiled(clients))
if(!(c = nexttiled(c->next)))