mirror of
https://github.com/swaywm/sway.git
synced 2024-08-19 00:35:13 +00:00
In case a tray icon cannot be found or does not have a desirable size, swaybar retries the search again and again, which increases load on disk and CPU. This commit solves it by storing target_size for each icon, so that swaybar does not search for an icon of some size if it already tried to. Fixes #3789. |
||
---|---|---|
.. | ||
host.h | ||
icon.h | ||
item.h | ||
tray.h | ||
watcher.h |