diff options
| author | Daniel Cousens <github@dcousens.com> | 2017-10-11 08:10:45 +1100 |
|---|---|---|
| committer | Anselm R Garbe <garbeam@gmail.com> | 2017-10-11 09:46:28 +0200 |
| commit | 6aa8e37efe22c8a2a7713d9a437491c564c04b7e (patch) | |
| tree | e9c3f60c4d0ffbabc9e4cae7c57c76a98e684854 /dwm.c | |
| parent | yet another cleanup (diff) | |
| download | dwm-6aa8e37efe22c8a2a7713d9a437491c564c04b7e.tar.gz dwm-6aa8e37efe22c8a2a7713d9a437491c564c04b7e.zip | |
simplify isfixed conditions
Diffstat (limited to 'dwm.c')
| -rw-r--r-- | dwm.c | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -1981,8 +1981,7 @@ updatesizehints(Client *c) | |||
| 1981 | c->maxa = (float)size.max_aspect.x / size.max_aspect.y; | 1981 | c->maxa = (float)size.max_aspect.x / size.max_aspect.y; |
| 1982 | } else | 1982 | } else |
| 1983 | c->maxa = c->mina = 0.0; | 1983 | c->maxa = c->mina = 0.0; |
| 1984 | c->isfixed = (c->maxw && c->minw && c->maxh && c->minh | 1984 | c->isfixed = (c->maxw && c->maxh && c->maxw == c->minw && c->maxh == c->minh); |
| 1985 | && c->maxw == c->minw && c->maxh == c->minh); | ||
| 1986 | } | 1985 | } |
| 1987 | 1986 | ||
| 1988 | void | 1987 | void |
