setmfact should not have any effect if in floating layout - dwm - dynamic window manager
HTML git clone https://git.parazyd.org/dwm
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 00c28a7ef2d465c7377c782c3dfd8b5ac0a805e1
DIR parent 5a3a2d6b637a41125f9128722aa9cb4c8c97888b
HTML Author: Anselm R Garbe <garbeam@gmail.com>
Date: Mon, 24 Mar 2008 14:31:02 +0000
setmfact should not have any effect if in floating layout
Diffstat:
M dwm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/dwm.c b/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] == '+') {