From 90f0939beea4f97653a9a40991bab7c90b380b42 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Mon, 3 Jan 2011 14:18:11 +0100 Subject: [PATCH] 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 --- lib/awful/client.lua.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful/client.lua.in b/lib/awful/client.lua.in index 67659752..01a51f3d 100644 --- a/lib/awful/client.lua.in +++ b/lib/awful/client.lua.in @@ -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