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:
Sébastien Luttringer 2012-08-11 23:55:27 +02:00 committed by Uli Schlachter
parent 226678ec7f
commit 99230fc632
1 changed files with 1 additions and 1 deletions

View File

@ -405,7 +405,7 @@ end
--- Set the client as slave: put it at the end of other windows.
-- @param c The window to set as slave.
function setslave(c)
local cls = capi.client.get(screen)
local cls = capi.client.get(c.screen)
for k, v in pairs(cls) do
c:swap(v)
end