awesome/lib
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
..
awful Make layoutbox kind-of garbage-collectable 2015-09-27 13:19:12 +02:00
beautiful Use awful.util.round in beautiful.xresources.apply_dpi 2015-08-12 14:18:57 +02:00
gears Merge pull request #454 from psychon/remove_gears.debug.assert 2015-09-21 21:16:36 +02:00
menubar menubar: fix height to be rounded 2015-08-31 20:47:22 +02:00
naughty naughty.notify: improve doc for args.run 2015-09-23 20:56:17 +02:00
wibox Merge pull request #384 from blueyed/more-robust-errors 2015-09-23 20:59:35 +02:00