aboutsummaryrefslogtreecommitdiff
path: root/swaybar/tray/host.c
AgeCommit message (Collapse)AuthorLines
2024-02-16Define _POSIX_C_SOURCE globallyFurkan Sahin-1/+0
See discussion in https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4555
2023-02-28Use format_str() throughoutFurkan Sahin-7/+3
2020-03-04tray: tidy codeFurkan Sahin-3/+5
This includes some refactoring and fixing a small memory leak.
2019-02-15tray: use correct parameter to set bus slot to floatingFurkan Sahin-3/+3
Counter-intuitively, `sd_bus_slot_set_floating` expects 0 to set it to floating.
2019-01-20Replace wlr_log with sway_logFurkan Sahin-15/+15
This commit mostly duplicates the wlr_log functions, although with a sway_* prefix. (This is very similar to PR #2009.) However, the logging function no longer needs to be replaceable, so sway_log_init's second argument is used to set the exit callback for sway_abort. wlr_log_init is still invoked in sway/main.c This commit makes it easier to remove the wlroots dependency for the helper programs swaymsg, swaybg, swaybar, and swaynag.
2019-01-04swaybar: improve tray loggingFurkan Sahin-2/+2
2018-12-17swaybar: handle new and lost StatusNotifierWatcherFurkan Sahin-1/+31
2018-12-07swaybar: set bar dirty on SNI eventFurkan Sahin-0/+2
2018-12-07swaybar: add StatusNotifierItem to trayFurkan Sahin-4/+5
2018-12-07swaybar: add StatusNotifierHost to trayFurkan Sahin-0/+177