---
lib/awful/widget.lua.in | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/lib/awful/widget.lua.in b/lib/awful/widget.lua.in
index b8eb55d..e51c203 100644
--- a/lib/awful/widget.lua.in
+++ b/lib/awful/widget.lua.in
@@ -109,6 +109,9 @@ local function taglist_update (screen, w, label, buttons,
data, widgets)
list_update(w, buttons, label, data, widgets, tags)
end
+--- Get the tag object the given widget appears on.
+-- @param widget The widget the look for.
+-- @return The tag object.
function taglist.gettag(widget)
return tagwidgets[widget]
end
--
1.6.1.3
--
To unsubscribe, send mail to [email protected].