polybar-dwm/include/x11
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
..
extensions Use connection.root() to get root window 2022-04-16 00:16:50 +02:00
atoms.hpp feat(xwindow): %instance%, %class% from WM_CLASS 2022-10-02 20:57:29 +02:00
background_manager.hpp fix: Crash on root pixmap and window depth mismatch (#2813) 2022-09-05 09:58:12 +02:00
connection.hpp Replace wait_for_response with handle callback 2022-11-30 15:06:17 +01:00
cursor.hpp Cleanup cursor code 2022-03-20 20:18:00 +01:00
ewmh.hpp restack: Add ewmh restacking strategy 2023-05-15 14:44:50 +02:00
icccm.hpp feat(xwindow): %instance%, %class% from WM_CLASS 2022-10-02 20:57:29 +02:00
legacy_tray_manager.hpp Remove config singleton (#2951) 2023-05-01 14:58:52 +02:00
registry.hpp refactor(connection: Use custom base 2016-12-26 09:46:48 +01:00
tray_client.hpp tray: Disable pseudo-transparency for opaque bgs 2023-03-23 23:03:45 +01:00
tray_manager.hpp fix(tray): Allow module to disappear for empty tray 2023-11-11 04:01:26 +01:00
types.hpp refactor(x11): Cleanup 2017-01-24 10:49:14 +01:00
window.hpp fix: Support negative struts 2022-03-15 00:11:46 +01:00
winspec.hpp xcb: Cleanup value packing 2022-04-16 00:16:48 +02:00
xembed.hpp tray: Cleanup 2022-10-31 23:21:00 +01:00
xresources.hpp Remove undefined behaviors and clean code (#1769) 2021-02-15 23:32:56 +01:00