dwm

My custom build of dwm window manager
Log | Files | Refs | README | LICENSE

commit 6aa8e37efe22c8a2a7713d9a437491c564c04b7e
parent ceac8c91ff3bf45ae53135658d6f560cb2335133
Author: Daniel Cousens <github@dcousens.com>
Date:   Wed, 11 Oct 2017 08:10:45 +1100

simplify isfixed conditions

Diffstat:
Mdwm.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dwm.c b/dwm.c @@ -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