awful: bug fix in swap
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
3a6b1935f2
commit
936d5457a3
|
@ -108,7 +108,7 @@ function P.client.swap(i, c)
|
|||
local sel = c or client.focus_get()
|
||||
local target = P.client.next(i, sel)
|
||||
if target then
|
||||
target:swap(c)
|
||||
target:swap(sel)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue