client.c: fix deprecation of honorsizehints

Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Gregor Best 2009-01-11 15:48:14 +01:00 committed by Julien Danjou
parent 6143e58190
commit 51d6df2483
1 changed files with 2 additions and 0 deletions

View File

@ -1506,6 +1506,8 @@ luaA_client_newindex(lua_State *L)
client_setsticky(*c, luaA_checkboolean(L, 3));
break;
case A_TK_HONORSIZEHINTS:
luaA_deprecate(L, "size_hints_honor");
case A_TK_SIZE_HINTS_HONOR:
(*c)->size_hints_honor = luaA_checkboolean(L, 3);
client_need_arrange(*c);
break;