mirror of
https://github.com/swaywm/sway.git
synced 2024-11-16 13:13:17 +00:00
fa0abaf7cf
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 |