aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/seatop_default.c
diff options
context:
space:
mode:
authorLibravatar Konstantin Pospelov <kupospelov@gmail.com>2019-06-08 18:11:32 +0300
committerLibravatar Simon Ser <contact@emersion.fr>2019-10-21 17:22:25 +0200
commitfa0abaf7cfecf1dc433717d53379d6942226c2bb (patch)
treedeb117124ad6b8f824cab986b99cf60f4cc2871c /sway/input/seatop_default.c
parentFix refresh rate scale of output (diff)
downloadsway-fa0abaf7cfecf1dc433717d53379d6942226c2bb.tar.gz
sway-fa0abaf7cfecf1dc433717d53379d6942226c2bb.tar.zst
sway-fa0abaf7cfecf1dc433717d53379d6942226c2bb.zip
swaybar: do not retry search for tray icons
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.
Diffstat (limited to 'sway/input/seatop_default.c')
0 files changed, 0 insertions, 0 deletions