summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-03-24 14:31:02 +0000
committerAnselm R Garbe <garbeam@gmail.com>2008-03-24 14:31:02 +0000
commit00c28a7ef2d465c7377c782c3dfd8b5ac0a805e1 (patch)
tree951deb78d3a2f50804bf03bb559e4b4ce364a708
parentminor fix (diff)
downloaddwm-00c28a7ef2d465c7377c782c3dfd8b5ac0a805e1.tar.gz
dwm-00c28a7ef2d465c7377c782c3dfd8b5ac0a805e1.zip
setmfact should not have any effect if in floating layout
Diffstat (limited to '')
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index ed7fc0d..212bf3e 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1467,7 +1467,7 @@ void
1467setmfact(const char *arg) { 1467setmfact(const char *arg) {
1468 double delta; 1468 double delta;
1469 1469
1470 if(!arg) 1470 if(!arg || lt->isfloating)
1471 return; 1471 return;
1472 delta = strtod(arg, NULL); 1472 delta = strtod(arg, NULL);
1473 if(arg[0] == '-' || arg[0] == '+') { 1473 if(arg[0] == '-' || arg[0] == '+') {