client: print deprecate warning before return
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
d755a6bb64
commit
726550af4e
2
client.c
2
client.c
|
@ -926,9 +926,9 @@ luaA_client_visible_get(lua_State *L)
|
||||||
static int
|
static int
|
||||||
luaA_client_focus_get(lua_State *L)
|
luaA_client_focus_get(lua_State *L)
|
||||||
{
|
{
|
||||||
|
deprecate();
|
||||||
if(globalconf.screen_focus->client_focus)
|
if(globalconf.screen_focus->client_focus)
|
||||||
return luaA_client_userdata_new(L, globalconf.screen_focus->client_focus);
|
return luaA_client_userdata_new(L, globalconf.screen_focus->client_focus);
|
||||||
deprecate();
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue