list_update()
if updating for a tag object then set the tag's "textbox" property.
this way there is a robust way to find the tag's widget later.
---
lib/awful/widget/common.lua.in | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/lib/awful/widget/common.lua.in b/lib/awful/widget/common.lua.in
index 8e2af43..46f43b3 100644
--- a/lib/awful/widget/common.lua.in
+++ b/lib/awful/widget/common.lua.in
@@ -13,6 +13,7 @@ local setmetatable = setmetatable
local capi = { widget = widget, button = button }
local layout = require("awful.widget.layout")
local util = require("awful.util")
+local tag = require("awful.tag")
local common = {}
@@ -69,6 +70,7 @@ function common.list_update(w, buttons, label, data,
template, objects)
if type(o) == "tag" then
tagwidgets[ib] = o
tagwidgets[tb] = o
+ tag.setproperty(o, "textbox", tb)
end
end
--
1.7.0.1
--
To unsubscribe, send mail to [email protected].