tsetmfact should not have any effect if in floating layout - dwm - [fork] customized build of dwm, the dynamic window manager
(HTM) git clone git://src.adamsgaard.dk/dwm
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 00c28a7ef2d465c7377c782c3dfd8b5ac0a805e1
(DIR) parent 5a3a2d6b637a41125f9128722aa9cb4c8c97888b
(HTM) 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
t@@ -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] == '+') {