9136ebd321
make sure that for a given event (widget/object/module, whatever), only a *single* input event per button can be registered at one time. the problem otherwise is with modules that re-register their widgets with the same IDs (cmus, spotify, etc.): Each time the widget is re-created (each intervall, typically), it re-registers an input event, creating an always longer list of callbacks being executed when the button is clicked (not speaking of the memory leak this introduces). fixes #668 |
||
---|---|---|
.. | ||
__init__.py | ||
config.py | ||
decorators.py | ||
event.py | ||
input.py | ||
module.py | ||
output.py | ||
theme.py | ||
widget.py |