diff options
author | Daniel Cousens | 2017-10-11 08:10:45 +1100 |
---|---|---|
committer | Anselm R Garbe | 2017-10-11 09:46:28 +0200 |
commit | 6aa8e37efe22c8a2a7713d9a437491c564c04b7e (patch) | |
tree | e9c3f60c4d0ffbabc9e4cae7c57c76a98e684854 | |
parent | ceac8c91ff3bf45ae53135658d6f560cb2335133 (diff) |
simplify isfixed conditions
-rw-r--r-- | dwm.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |