awesome/lib
Uli Schlachter 89f05c90ca {tag,task}list: Use a weak-valued table
The data table is used to map objects (clients/tags) to the buttons associated
with them. This is done so that we don't have to re-create the button objects
each time this lists are updated.

The problem was that this weak-keyed table was never cleared, because the value
had a strong reference to the key (via the button's signal):

btn:connect_signal("press", function () b:emit_signal("press", o) end)

"o" is the key in the table and btn is reachable from the value. This prevented
the garbage collection of the key. Using a weak-keyed and weak-valued table
fixes this.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-16 17:28:50 +02:00
..
awful {tag,task}list: Use a weak-valued table 2010-09-16 17:28:50 +02:00
gears Implement color parsing 2010-09-09 16:54:57 +02:00
beautiful.lua.in Revert "beautiful: init default theme by default" and "awesomerc: stop handling beautiful" 2009-09-28 13:43:49 +02:00
naughty.lua.in lua{class,object}: rename signals functions 2010-08-25 20:28:20 +02:00