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.
|
* \param L The Lua VM state.
|
||||||
* \return The number of elements pushed on stack.
|
* \return The number of elements pushed on stack.
|
||||||
* \luastack
|
* \luastack
|
||||||
|
* \lfield id The window X id.
|
||||||
* \lfield name The client title.
|
* \lfield name The client title.
|
||||||
* \lfield skip_taskbar True if the client does not want to be in taskbar.
|
* \lfield skip_taskbar True if the client does not want to be in taskbar.
|
||||||
* \lfield type The window type (desktop, normal, dock, …).
|
* \lfield type The window type (desktop, normal, dock, …).
|
||||||
|
@ -1799,6 +1800,9 @@ luaA_client_index(lua_State *L)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case A_TK_ID:
|
||||||
|
lua_pushnumber(L, (*c)->win);
|
||||||
|
break;
|
||||||
case A_TK_LEADER_ID:
|
case A_TK_LEADER_ID:
|
||||||
lua_pushnumber(L, (*c)->leader_win);
|
lua_pushnumber(L, (*c)->leader_win);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -44,6 +44,7 @@ hide
|
||||||
honorsizehints
|
honorsizehints
|
||||||
icon
|
icon
|
||||||
icon_name
|
icon_name
|
||||||
|
id
|
||||||
image
|
image
|
||||||
instance
|
instance
|
||||||
key_press
|
key_press
|
||||||
|
|
Loading…
Reference in New Issue