Fix client screen in awful.client.setslave
Signed-off-by: Sébastien Luttringer <seblu@seblu.net> Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
226678ec7f
commit
99230fc632
|
@ -405,7 +405,7 @@ end
|
||||||
--- Set the client as slave: put it at the end of other windows.
|
--- Set the client as slave: put it at the end of other windows.
|
||||||
-- @param c The window to set as slave.
|
-- @param c The window to set as slave.
|
||||||
function setslave(c)
|
function setslave(c)
|
||||||
local cls = capi.client.get(screen)
|
local cls = capi.client.get(c.screen)
|
||||||
for k, v in pairs(cls) do
|
for k, v in pairs(cls) do
|
||||||
c:swap(v)
|
c:swap(v)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue