Przeglądaj źródła

setmfact should not have any effect if in floating layout

Anselm R Garbe 17 lat temu
rodzic
commit
00c28a7ef2
1 zmienionych plików z 1 dodań i 1 usunięć
  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] == '+') {