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:
parent
33fae25948
commit
09cf4f2c86
3
client.h
3
client.h
|
@ -253,7 +253,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
|
||||
|
|
Loading…
Reference in New Issue