瀏覽代碼

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