awful.client: Add a missing module table

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2012-06-19 20:37:03 +02:00
parent b552000bd9
commit 77b5dadac4
1 changed files with 1 additions and 1 deletions

View File

@ -375,7 +375,7 @@ end
-- @param c Optional client, otherwise focused one is used.
function client.swap.byidx(i, c)
local sel = c or capi.client.focus
local target = next(i, sel)
local target = client.next(i, sel)
if target then
target:swap(sel)
end