client: allow setting skip_taskbar
Signed-off-by: koniu <gkusnierz@gmail.com> Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
a264acb1f0
commit
e69f80caf6
6
client.c
6
client.c
|
@ -1546,6 +1546,10 @@ luaA_client_newindex(lua_State *L)
|
|||
else
|
||||
titlebar_client_attach(c);
|
||||
break;
|
||||
case A_TK_SKIP_TASKBAR:
|
||||
c->skiptb = luaA_checkboolean(L, 3);
|
||||
hook_property(client, c, "skip_taskbar");
|
||||
break;
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
@ -1559,7 +1563,7 @@ luaA_client_newindex(lua_State *L)
|
|||
* \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 skip_taskbar If true the client won't be shown in the tasklist.
|
||||
* \lfield type The window type (desktop, normal, dock, …).
|
||||
* \lfield class The client class.
|
||||
* \lfield instance The client instance.
|
||||
|
|
|
@ -66,7 +66,8 @@ function new(label, buttons)
|
|||
or prop == "maximized_vertical"
|
||||
or prop == "icon"
|
||||
or prop == "name"
|
||||
or prop == "icon_name" then
|
||||
or prop == "icon_name"
|
||||
or prop == "skip_taskbar" then
|
||||
u()
|
||||
end
|
||||
end)
|
||||
|
|
Loading…
Reference in New Issue