mirror of
https://git.suckless.org/dwm
synced 2024-12-27 03:16:32 +00:00
simplify isfixed conditions
This commit is contained in:
parent
ceac8c91ff
commit
6aa8e37efe
1 changed files with 1 additions and 2 deletions
3
dwm.c
3
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
|
||||
|
|
Loading…
Reference in a new issue