client: add .id field
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
3f75f6827c
commit
a95fc407b5
4
client.c
4
client.c
|
@ -1644,6 +1644,7 @@ luaA_client_newindex(lua_State *L)
|
|||
* \param L The Lua VM state.
|
||||
* \return The number of elements pushed on stack.
|
||||
* \luastack
|
||||
* \lfield id The window X id.
|
||||
* \lfield name The client title.
|
||||
* \lfield skip_taskbar True if the client does not want to be in taskbar.
|
||||
* \lfield type The window type (desktop, normal, dock, …).
|
||||
|
@ -1799,6 +1800,9 @@ luaA_client_index(lua_State *L)
|
|||
return 0;
|
||||
}
|
||||
break;
|
||||
case A_TK_ID:
|
||||
lua_pushnumber(L, (*c)->win);
|
||||
break;
|
||||
case A_TK_LEADER_ID:
|
||||
lua_pushnumber(L, (*c)->leader_win);
|
||||
break;
|
||||
|
|
|
@ -44,6 +44,7 @@ hide
|
|||
honorsizehints
|
||||
icon
|
||||
icon_name
|
||||
id
|
||||
image
|
||||
instance
|
||||
key_press
|
||||
|
|
Loading…
Reference in New Issue