simplify isfixed conditions
Daniel Cousens github@dcousens.com
Wed, 11 Oct 2017 08:10:45 +1100
1 files changed,
1 insertions(+),
2 deletions(-)
jump to
M
dwm.c
→
dwm.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