aboutsummaryrefslogtreecommitdiff
path: root/include/swaybar/tray/item.h
AgeCommit message (Collapse)AuthorLines
2023-01-03Add missing includes & remove duplicatesCarl Smedstad-0/+1
2020-03-30tray: track SNI callbacksIan Fan-3/+10
This removes any pending messages once the item is destroyed. Furthermore, this installs SNI event calbacks asynchronously in order to prevent sd-bus from bypassing pending messages.
2019-10-21swaybar: do not retry search for tray iconsKonstantin Pospelov-0/+1
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.
2019-01-08swaybar: handle SNI signals betterIan Fan-0/+4
This fixes a crash caused by callbacks not matching the right sender, and frees old values later, before they are re-assigned.
2018-12-31swaybar: use KDE's SNI IconThemePath propertyIan Fan-0/+1
2018-12-31swaybar: implement tray renderingIan Fan-0/+6
2018-12-31swaybar: add StatusNotifierItem to trayIan Fan-0/+38