polybar-dwm/include
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
..
adapters alsa: include asoundlib.h instead of all alsa headers 2023-09-28 19:30:49 +02:00
cairo Cleanup 2023-05-10 17:06:00 +02:00
components Refactor config::dereference* (#2963) 2023-05-18 09:47:45 +02:00
drawtypes feat: longest match ws-icon fuzzy matching (#2831) 2022-10-05 23:05:44 +02:00
events tray: Update module using callback 2022-09-03 21:33:22 +02:00
ipc fix(ipc): Crash when sending to multiple instances 2022-10-23 14:19:26 +02:00
modules fix(tray): Allow module to disappear for empty tray 2023-11-11 04:01:26 +01:00
tags feat(tray): Position using a module (#2595) 2022-04-15 23:50:04 +02:00
utils fix(bspwm): Restack against topmost root window. 2023-10-08 21:04:29 +02:00
x11 fix(tray): Allow module to disappear for empty tray 2023-11-11 04:01:26 +01:00
CMakeLists.txt refactor(cmake): Allow targets to be enabled individually 2020-12-24 02:20:38 +01:00
common.hpp Use sockets for IPC (#2539) 2022-01-22 20:35:37 +01:00
debug.hpp refactor: Cleanup 2017-01-11 03:07:28 +01:00
errors.hpp Make the event loop return shared_ptrs (#2842) 2022-10-15 23:21:40 +02:00
settings.hpp.cmake feat(temperature): Add zone-type setting (#2752) 2022-08-21 19:25:42 +02:00