From d0ab8dc0c143efcb1d46cb7d9892cef9dc083f3b Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Tue, 12 Mar 2013 11:33:05 +0100 Subject: [PATCH] Fix ignoring size hints The function c:geometry() should only honor size hints if this was enabled for this client. Whoops. Signed-off-by: Uli Schlachter --- objects/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/objects/client.c b/objects/client.c index 1a32dc7d..a79dcd57 100644 --- a/objects/client.c +++ b/objects/client.c @@ -1626,7 +1626,7 @@ luaA_client_geometry(lua_State *L) geometry.height = luaA_getopt_number(L, 2, "height", c->geometry.height); } - client_resize(c, geometry, true); + client_resize(c, geometry, c->size_hints_honor); } return luaA_pusharea(L, c->geometry);