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:
parent
4540b8927a
commit
d0ab8dc0c1
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue