소스 검색

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] == '+') {