polybar/src/components
patrick96 8566051336 fix(tray): Allow module to disappear for empty tray
Modules that don't produce any output are hidden by the controller
(don't have margins or separators).
The tray module should also do that for `format = <tray>` when there are
no icons.

This required the visibility handling to be tied to the module
visibility instead of being handled by the renderer.
Otherwise, the renderer would hide the tray (because the %{Pt} tag was
never sent) and the tray would not unhide when new icons appeared; it
can't differentiate between hidden because empty and hidden because the
module is hidden by the user (the latter is the reason the renderer does
hiding at all).

Fixes #3036
2023-11-11 04:01:26 +01:00
..
bar.cpp fix(bspwm): Restack against topmost root window. 2023-10-08 21:04:29 +02:00
builder.cpp
command_line.cpp
config.cpp Refactor config::dereference* (#2963) 2023-05-18 09:47:45 +02:00
config_parser.cpp Remove config singleton (#2951) 2023-05-01 14:58:52 +02:00
controller.cpp Remove unsupported.hpp (#2956) 2023-05-08 19:36:12 +02:00
eventloop.cpp Merge remote-tracking branch 'upstream/master' into tray-child-window 2022-10-16 21:31:07 +02:00
logger.cpp
renderer.cpp fix(tray): Allow module to disappear for empty tray 2023-11-11 04:01:26 +01:00
screen.cpp Remove config singleton (#2951) 2023-05-01 14:58:52 +02:00