Преглед изворни кода

applied Szabolcs proposal for zoom() as well

Anselm R. Garbe пре 18 година
родитељ
комит
8439369db9
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      layout.c

+ 1 - 1
layout.c

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