awesome/lib
Uli Schlachter da6012da3e Fix memory leak in the default config on screen removal
The default config had tables like mywibox and mywibox[s] was the wibox
that is visible on screen s. When a screen is removed, nothing cleans up
these tables and so the screen and the wibox could not be garbage
collected. The same applies to the layoutbox, taglist etc.

This commit removes the global mywibox table and instead saves it as a
property on the screen. This way, the screen is not explicitly
referenced and when it is removed, the screen, its wibox and all of its
widgets become unreachable and can be garbage collected.

This commit also updates the docs and the tests that referenced things
(mostly the wibox) via mywibox[s] to now use s.mywibox.

Fixes: https://github.com/awesomeWM/awesome/issues/1125
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-09-30 22:46:51 +02:00
..
awful Fix memory leak in the default config on screen removal 2016-09-30 22:46:51 +02:00
beautiful doc: Document the basic variables. 2016-09-26 00:40:20 -04:00
gears gears.object.properties: Use the new .data table 2016-09-30 11:11:55 +02:00
menubar doc: Fix the menubar fields documentation 2016-09-26 00:40:20 -04:00
naughty wibox: Create a container module 2016-05-30 17:51:19 -04:00
wibox doc: Add more graph documentation. 2016-09-26 01:20:57 -04:00