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:
Uli Schlachter 2011-01-03 14:18:11 +01:00
parent 95eb965883
commit 90f0939bee
1 changed files with 1 additions and 1 deletions

View File

@ -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