client: _really_ honor size hints

If c->honor_size_hints is set to false and the client indicates through
its hints that it wants to be fixed size (by setting min and max width
equal), size hints are not ignored due to client_isfixed not taking
honor_size_hints being false into account. This commit fixes that.

Signed-off-by: Gregor Best <gbe@ring0.de>
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Gregor Best 2010-03-03 00:07:10 +01:00 committed by Julien Danjou
parent 54233fa383
commit 5987e48385
1 changed files with 2 additions and 1 deletions

View File

@ -250,7 +250,8 @@ client_isfixed(client_t *c)
&& c->size_hints.max_width == c->size_hints.min_width
&& c->size_hints.max_height == c->size_hints.min_height
&& c->size_hints.max_width
&& c->size_hints.max_height);
&& c->size_hints.max_height
&& c->size_hints_honor);
}
/** Returns true if a client is tagged with one of the tags of the