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 <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2013-03-12 11:33:05 +01:00
parent 4540b8927a
commit d0ab8dc0c1
1 changed files with 1 additions and 1 deletions

View File

@ -1626,7 +1626,7 @@ luaA_client_geometry(lua_State *L)
geometry.height = luaA_getopt_number(L, 2, "height", c->geometry.height); 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); return luaA_pusharea(L, c->geometry);