client: fix returned value for non transient windows

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-12-07 11:06:58 +01:00
parent c63657049f
commit e8186e687e
1 changed files with 1 additions and 0 deletions

View File

@ -1426,6 +1426,7 @@ luaA_client_index(lua_State *L)
case A_TK_TRANSIENT_FOR:
if((*c)->transient_for)
return luaA_client_userdata_new(L, (*c)->transient_for);
return 0;
case A_TK_SKIP_TASKBAR:
lua_pushboolean(L, (*c)->skiptb);
break;