Make awful.client.idx public
The luadoc API documentation already contained this function and it seems to be useful for user configs. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
95eb965883
commit
90f0939bee
|
@ -670,7 +670,7 @@ end
|
||||||
-- @return col the column number
|
-- @return col the column number
|
||||||
-- @return idx index of the client in the column
|
-- @return idx index of the client in the column
|
||||||
-- @return num the number of visible clients in the column
|
-- @return num the number of visible clients in the column
|
||||||
local function idx(c)
|
function idx(c)
|
||||||
local c = c or capi.client.focus
|
local c = c or capi.client.focus
|
||||||
if not c then return end
|
if not c then return end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue