awful: bug fix in swap

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-06-20 11:06:59 +02:00
parent 3a6b1935f2
commit 936d5457a3
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ function P.client.swap(i, c)
local sel = c or client.focus_get() local sel = c or client.focus_get()
local target = P.client.next(i, sel) local target = P.client.next(i, sel)
if target then if target then
target:swap(c) target:swap(sel)
end end
end end