From 6aa8e37efe22c8a2a7713d9a437491c564c04b7e Mon Sep 17 00:00:00 2001 From: Daniel Cousens Date: Wed, 11 Oct 2017 08:10:45 +1100 Subject: simplify isfixed conditions --- dwm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dwm.c b/dwm.c index a5ce993..4782343 100644 --- 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 -- cgit 1.4.1-2-gfad0