tsimplify isfixed conditions - 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 6aa8e37efe22c8a2a7713d9a437491c564c04b7e
(DIR) parent ceac8c91ff3bf45ae53135658d6f560cb2335133
(HTM) Author: Daniel Cousens <github@dcousens.com>
Date: Wed, 11 Oct 2017 08:10:45 +1100
simplify isfixed conditions
Diffstat:
M dwm.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
(DIR) 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->minh);
}
void