awful.client: Add a missing module table
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
b552000bd9
commit
77b5dadac4
|
@ -375,7 +375,7 @@ end
|
||||||
-- @param c Optional client, otherwise focused one is used.
|
-- @param c Optional client, otherwise focused one is used.
|
||||||
function client.swap.byidx(i, c)
|
function client.swap.byidx(i, c)
|
||||||
local sel = c or capi.client.focus
|
local sel = c or capi.client.focus
|
||||||
local target = next(i, sel)
|
local target = client.next(i, sel)
|
||||||
if target then
|
if target then
|
||||||
target:swap(sel)
|
target:swap(sel)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue