Explorar o código

applied Szabolcs proposal for zoom() as well

Anselm R. Garbe %!s(int64=18) %!d(string=hai) anos
pai
achega
8439369db9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      layout.c

+ 1 - 1
layout.c

@@ -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)))