all repos — dwm @ 6aa8e37efe22c8a2a7713d9a437491c564c04b7e

my dwm build

simplify isfixed conditions
Daniel Cousens github@dcousens.com
Wed, 11 Oct 2017 08:10:45 +1100
commit

6aa8e37efe22c8a2a7713d9a437491c564c04b7e

parent

ceac8c91ff3bf45ae53135658d6f560cb2335133

1 files changed, 1 insertions(+), 2 deletions(-)

jump to
M dwm.cdwm.c

@@ -1981,8 +1981,7 @@ c->mina = (float)size.min_aspect.y / size.min_aspect.x;

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