awesome/lib/awful
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
..
client Remove the *.in from all files. 2015-06-19 22:33:32 +02:00
layout Merge pull request #323 from actionless/grow-master 2015-09-03 08:53:19 +02:00
mouse Add finish callback to awful.mouse.client.move 2015-08-22 14:50:42 +02:00
widget Make layoutbox kind-of garbage-collectable 2015-09-27 13:19:12 +02:00
autofocus.lua Use `hints` table argument with `request::activate` signal 2015-06-25 06:47:39 +02:00
button.lua Remove the *.in from all files. 2015-06-19 22:33:32 +02:00
client.lua Add missing hints argument in `awful.movetoscreen` 2015-09-11 22:30:47 +02:00
completion.lua Remove the *.in from all files. 2015-06-19 22:33:32 +02:00
dbus.lua Remove the *.in from all files. 2015-06-19 22:33:32 +02:00
ewmh.lua Merge pull request #438 from blueyed/ewmh-activate-raise-always 2015-09-25 10:16:03 +02:00
init.lua Remove the *.in from all files. 2015-06-19 22:33:32 +02:00
key.lua Remove the *.in from all files. 2015-06-19 22:33:32 +02:00
keygrabber.lua keygrabber.grabber: rename function name 2015-07-22 13:52:47 +02:00
menu.lua awful.menu: use beautiful.xresources.apply_dpi for margins 2015-08-01 17:47:51 +02:00
placement.lua placement.no_offscreen: add optional screen argument 2015-09-16 10:39:12 +02:00
prompt.lua Replace uses of color_strip_alpha with ensure_pango_color, refactor 2015-07-10 18:11:45 -04:00
remote.lua Remove the *.in from all files. 2015-06-19 22:33:32 +02:00
rules.lua awful.rules: factor out `matches` 2015-09-03 22:56:07 +02:00
screen.lua Add awful.screen.focused [FS#1029] 2015-07-21 12:51:45 +02:00
startup_notification.lua Remove the *.in from all files. 2015-06-19 22:33:32 +02:00
tag.lua Add optional limit for nmaster/ncol based on number of tiled windows 2015-09-19 12:05:28 +02:00
titlebar.lua drawable: Use a context table as first argument to :draw() 2015-08-12 11:17:48 +02:00
tooltip.lua Fix tooltip.set_geometry: provide textbox context 2015-09-23 10:35:13 +02:00
util.lua spawn_with_line_callback: Add missing return 2015-09-03 19:57:57 +02:00
wibox.lua awful.wibox: round x/y/width/height wibox arguments 2015-08-12 14:14:14 +02:00