diff --git a/lib/wibox/widget/base.lua b/lib/wibox/widget/base.lua index 2023f6e4..6e21e735 100644 --- a/lib/wibox/widget/base.lua +++ b/lib/wibox/widget/base.lua @@ -162,14 +162,16 @@ end -- forward the signal. This is useful to track signals when there is a dynamic -- set of containers and layouts wrapping the widget. -- --- Note that this function has two flaws: +-- Note that this function has some flaws: -- -- 1. The signal is only forwarded once the widget tree has been built. This -- happens after all currently scheduled functions have been executed. -- Therefore, it will not start to work right away. -- 2. In case the widget is present multiple times in a single widget tree, --- this function will also forward the signal multiple time (one per upward +-- this function will also forward the signal multiple times (once per upward -- tree path). +-- 3. If the widget is removed from the widget tree, the signal is still +-- forwarded for some time, similar to the first case. -- -- @tparam string signal_name -- @param ... Other arguments