浏览代码

setmfact should not have any effect if in floating layout

Anselm R Garbe 17 年之前
父节点
当前提交
00c28a7ef2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dwm.c

+ 1 - 1
dwm.c

@@ -1467,7 +1467,7 @@ void
 setmfact(const char *arg) {
 	double delta;
 
-	if(!arg)
+	if(!arg || lt->isfloating)
 		return;
 	delta = strtod(arg, NULL);
 	if(arg[0] == '-' || arg[0] == '+') {