summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Cousens2017-10-11 08:10:45 +1100
committerAnselm R Garbe2017-10-11 09:46:28 +0200
commitee1ab07861902bb8aa3dfbd94bed0fedaf333eba (patch)
tree1c9c9e2f55497f20abf7223728db87b146798dd9
parent3d614db651014b84818ee8e03aeb30ea0f770fce (diff)
downloadaur-ee1ab07861902bb8aa3dfbd94bed0fedaf333eba.tar.gz
simplify isfixed conditions
-rw-r--r--dwm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dwm.c b/dwm.c
index a5ce993d33c..47823432bfe 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