client: fix returned value for non transient windows
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
c63657049f
commit
e8186e687e
1
client.c
1
client.c
|
@ -1426,6 +1426,7 @@ luaA_client_index(lua_State *L)
|
||||||
case A_TK_TRANSIENT_FOR:
|
case A_TK_TRANSIENT_FOR:
|
||||||
if((*c)->transient_for)
|
if((*c)->transient_for)
|
||||||
return luaA_client_userdata_new(L, (*c)->transient_for);
|
return luaA_client_userdata_new(L, (*c)->transient_for);
|
||||||
|
return 0;
|
||||||
case A_TK_SKIP_TASKBAR:
|
case A_TK_SKIP_TASKBAR:
|
||||||
lua_pushboolean(L, (*c)->skiptb);
|
lua_pushboolean(L, (*c)->skiptb);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue