client: add .id field

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-02-18 16:53:42 +01:00
parent 3f75f6827c
commit a95fc407b5
2 changed files with 5 additions and 0 deletions

View File

@ -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;

View File

@ -44,6 +44,7 @@ hide
honorsizehints
icon
icon_name
id
image
instance
key_press