aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Cousens <github@dcousens.com>2017-10-11 08:10:45 +1100
committerAnselm R Garbe <garbeam@gmail.com>2017-10-11 09:46:28 +0200
commit6aa8e37efe22c8a2a7713d9a437491c564c04b7e (patch)
treee9c3f60c4d0ffbabc9e4cae7c57c76a98e684854
parentceac8c91ff3bf45ae53135658d6f560cb2335133 (diff)
simplify isfixed conditions
-rw-r--r--dwm.c3
1 files changed, 1 insertions, 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