645a3142a1
Only updating when an mpd event occurred would cause issues when mpd was playing and the machine was put to sleep because the elapsed time was calculated by taking the time difference of the last update and now which would give you wrong numbers, if the machine was in standby in between. Since the update function on the module is only called once a second (or when an event happens), we can just update the data every time without a huge performance hit. Fixes #915 |
||
---|---|---|
.. | ||
adapters | ||
cairo | ||
components | ||
drawtypes | ||
events | ||
modules | ||
utils | ||
x11 | ||
CMakeLists.txt | ||
common.hpp | ||
debug.hpp | ||
errors.hpp | ||
settings.hpp.cmake | ||
version.hpp |