From 936d5457a3d7a417aec0ee27e799faed7cb53bdf Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 20 Jun 2008 11:06:59 +0200 Subject: [PATCH] awful: bug fix in swap Signed-off-by: Julien Danjou --- lib/awful.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful.lua b/lib/awful.lua index 091691bfd..eaa3674e3 100644 --- a/lib/awful.lua +++ b/lib/awful.lua @@ -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