tsimplify isfixed conditions - dwm - [fork] customized build of dwm, the dynami… | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 6aa8e37efe22c8a2a7713d9a437491c564c04b7e | |
parent ceac8c91ff3bf45ae53135658d6f560cb2335133 | |
Author: Daniel Cousens <[email protected]> | |
Date: Wed, 11 Oct 2017 08:10:45 +1100 | |
simplify isfixed conditions | |
Diffstat: | |
M dwm.c | 3 +-- | |
1 file changed, 1 insertion(+), 2 deletions(-) | |
--- | |
diff --git a/dwm.c b/dwm.c | |
t@@ -1981,8 +1981,7 @@ updatesizehints(Client *c) | |
c->maxa = (float)size.max_aspect.x / size.max_aspect.y; | |
} else | |
c->maxa = c->mina = 0.0; | |
- c->isfixed = (c->maxw && c->minw && c->maxh && c->minh | |
- && c->maxw == c->minw && c->maxh == c->minh); | |
+ c->isfixed = (c->maxw && c->maxh && c->maxw == c->minw && c->maxh == c… | |
} | |
void |