| tsetmfact should not have any effect if in floating layout - dwm - [fork] custo… | |
| git clone git://src.adamsgaard.dk/dwm | |
| Log | |
| Files | |
| Refs | |
| README | |
| LICENSE | |
| --- | |
| commit 00c28a7ef2d465c7377c782c3dfd8b5ac0a805e1 | |
| parent 5a3a2d6b637a41125f9128722aa9cb4c8c97888b | |
| Author: Anselm R Garbe <[email protected]> | |
| 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(-) | |
| --- | |
| 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] == '+') { |