awesome/lib
Uli Schlachter e9377c4808 Make textclock garbage-collectable
This fixes the textclock-specific part of the test that the previous commit
added.

To fix this, gears.timer.weak_start_new() is used. This function creates a timer
that is automatically stopped when its callback function is garbage collected.
The callback function is saved as a member of the texbox widget that is the
"widget behind the textclock". Thus, the timer can only be stopped after the
widget is garbage-collected, but the timer does not keep the widget alive.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-09-27 12:44:10 +02:00
..
awful Make textclock garbage-collectable 2015-09-27 12:44:10 +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