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 f57dbb6a78
commit 75956804bd
1 changed files with 1 additions and 1 deletions

View File

@ -670,7 +670,7 @@ end
-- @return col the column number
-- @return idx index of the client 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
if not c then return end