Files
Waybar/include/modules
Jérémie Rodon 5c3ec1fd63 fix(tray): hide module when no items are visible
Tray::update() already had logic to hide the module when all child items were passive, but it was only re-run on item add/remove — never on a status change. When the last visible item transitioned to Passive, the item hid itself but the now-empty module remained visible.

Connect Tray to each item's Gtk::EventBox signal_show/signal_hide so update() runs on every visibility transition, and simplify update() to check child->get_visible() directly instead of inspecting the `passive` CSS class. The Tray-level `show-passive-items` read becomes redundant since Item already honours it when deciding its own visibility; remove it along with the now-unused Tray::show_passive_ member.

Fixes: #3721
2026-05-11 22:47:24 +02:00
..
2026-02-04 09:24:14 +01:00
2026-02-04 09:24:14 +01:00
2023-07-04 23:05:26 +02:00
2026-02-04 09:24:14 +01:00
2026-02-04 09:24:14 +01:00
2026-02-04 09:24:14 +01:00
2026-02-04 09:24:14 +01:00
2026-02-04 09:24:14 +01:00
2023-10-15 17:52:12 -03:00
2023-10-17 19:29:06 +02:00
2024-02-19 23:10:10 +01:00
2026-02-04 09:24:14 +01:00
2025-06-22 10:01:36 +02:00
2023-03-02 16:57:32 +03:00
2025-08-16 15:34:43 -07:00
2023-03-02 16:57:32 +03:00
2026-02-04 09:24:14 +01:00
2023-10-17 19:29:06 +02:00
2023-03-02 16:57:32 +03:00
2023-03-02 16:57:32 +03:00
2026-02-04 09:24:14 +01:00
2026-02-04 09:24:14 +01:00
2023-03-02 16:57:32 +03:00