yambar/modules
Daniel Eklöf 97b279ff82 module/mpd: don't detach refresh thread
Instead, abort and join previous thread (if any), just before creating
a new one.

Abort/join the last one when destroying the module.

Note: we may end up with a dangling (non-joined) thread for a
while (for example, when state goes from playing -> paused/stopped).

It will however be joined eventually; either when state goes to
'playing' again, or when the module is destroyed.
2018-12-28 14:22:17 +01:00
..
backlight tag: all tag constructors must now be passed a module 'owner' 2018-12-28 12:40:41 +01:00
battery tag: all tag constructors must now be passed a module 'owner' 2018-12-28 12:40:41 +01:00
clock tag: all tag constructors must now be passed a module 'owner' 2018-12-28 12:40:41 +01:00
i3 tag: all tag constructors must now be passed a module 'owner' 2018-12-28 12:40:41 +01:00
label module: add new function module_signal_ready() 2018-12-19 20:23:53 +01:00
mpd module/mpd: don't detach refresh thread 2018-12-28 14:22:17 +01:00
xkb tag: all tag constructors must now be passed a module 'owner' 2018-12-28 12:40:41 +01:00
xwindow tag: all tag constructors must now be passed a module 'owner' 2018-12-28 12:40:41 +01:00