dwm

personal fork of dwm (rnpnr branch)
git clone anongit@rnpnr.xyz:dwm.git
Log | Files | Refs | Feed | README | LICENSE

Commit: 6aa8e37efe22c8a2a7713d9a437491c564c04b7e
Parent: ceac8c91ff3bf45ae53135658d6f560cb2335133
Author: Daniel Cousens
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