diff options
| author | bakkeby <[email protected]> | 2020-03-31 09:07:00 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2020-03-31 11:07:24 +0200 |
| commit | 692affcff7593f718db827edf70a2b130725a1f3 (patch) | |
| tree | 698c03f1e3f496c4110dc156168e1b7d22b89add /patch/cfacts.c | |
| parent | a560b9cb53f3efc031e8d944231f53f4a9720203 (diff) | |
| download | dwm-flexipatch-692affcff7593f718db827edf70a2b130725a1f3.tar.gz dwm-flexipatch-692affcff7593f718db827edf70a2b130725a1f3.zip | |
dragcfact and dragmfact improvements
Diffstat (limited to 'patch/cfacts.c')
| -rw-r--r-- | patch/cfacts.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/patch/cfacts.c b/patch/cfacts.c index 223436f..ece210f 100644 --- a/patch/cfacts.c +++ b/patch/cfacts.c @@ -10,6 +10,8 @@ setcfact(const Arg *arg) return; if (!arg->f) f = 1.0; + else if (arg->f > 4.0) // set fact absolutely + f = arg->f - 4.0; else f = arg->f + c->cfact; if (f < 0.25) |
