mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
awful.layout.set for non active tag
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
f49ce21335
commit
a1489b867b
1 changed files with 2 additions and 2 deletions
|
@ -51,8 +51,8 @@ end
|
|||
|
||||
--- Set the layout function of the current tag.
|
||||
-- @param layout Layout name.
|
||||
function set(layout)
|
||||
local t = tag.selected()
|
||||
function set(layout, t)
|
||||
t = t or tag.selected()
|
||||
tag.setproperty(t, "layout", layout)
|
||||
capi.hooks.arrange()(t.screen)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue