awesome/lib/awful/widget
Uli Schlachter 6f2e7bba25 Make layoutbox kind-of garbage-collectable
Instead of connecting to the needed tag-update-signal again for every layoutbox,
this now just creates a single connection and updates all layoutboxes from here.
A new weak table is used to find the layoutboxes from these callbacks.
Additionally, layoutboxes are now per-screen unique. So even if you try to
create three layoutboxes for screen 1, the code will now always return the same
instance.

This kind-of fixes the leak test for layoutboxes. The problem is that the
default config also creates a layoutbox and adds it to a wibox. Since this is
now the same layoutbox, the test still fails. Just removing the layoutbox-part
from the default config makes this problem go away.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-09-27 13:19:12 +02:00
..
button.lua Remove the *.in from all files. 2015-06-19 22:33:32 +02:00
common.lua awful.widget.common.list_update: expose textbox to label callback 2015-09-02 22:25:24 +02:00
graph.lua graph and progressbar: Convert to new system 2015-09-05 14:51:36 +02:00
init.lua Remove the *.in from all files. 2015-06-19 22:33:32 +02:00
keyboardlayout.lua Correct indentation of keyboardlayout.lua 2015-09-13 01:35:50 +09:00
launcher.lua Remove the *.in from all files. 2015-06-19 22:33:32 +02:00
layoutbox.lua Make layoutbox kind-of garbage-collectable 2015-09-27 13:19:12 +02:00
progressbar.lua graph and progressbar: Convert to new system 2015-09-05 14:51:36 +02:00
prompt.lua Remove the *.in from all files. 2015-06-19 22:33:32 +02:00
taglist.lua minor: taglist.taglist_label: join if / remove indent 2015-09-25 01:29:00 +02:00
tasklist.lua awful.widget.common.list_update: expose textbox to label callback 2015-09-02 22:25:24 +02:00
textclock.lua Make textclock garbage-collectable 2015-09-27 12:44:10 +02:00