Skip to content

Commit

Permalink
simplify isfixed conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
dcousens authored and garbeam committed Oct 11, 2017
1 parent ceac8c9 commit 6aa8e37
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6aa8e37

Please sign in to comment.