aboutsummaryrefslogtreecommitdiffstats
path: root/swaybar/tray/watcher.c
Commit message (Collapse)AuthorAge
* Define _POSIX_C_SOURCE globallyLibravatar Simon Ser2024-02-23
| | | | See discussion in https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4555
* swaybar: remove the argument of StatusNotifierHostRegisteredLibravatar Hodong2023-06-23
| | | | | According to https://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/StatusNotifierWatcher/ there is no argument for the StatusNotifierHostRegistered signal.
* Use format_str() throughoutLibravatar Simon Ser2023-04-14
|
* tray: track SNI callbacksLibravatar Ian Fan2020-03-30
| | | | | | 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.
* tray: fix memory leaksLibravatar Ian Fan2019-02-16
|
* tray: when a service is lost, remove all matching itemsLibravatar Ian Fan2019-02-16
| | | | | Before, only the first matching item would be removed, which could leave stale items.
* swaybar: fix setting floating watcher slotsLibravatar Ian Fan2019-01-21
|
* Replace wlr_log with sway_logLibravatar M Stoeckl2019-01-21
| | | | | | | | | | | | | 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.
* swaybar: add StatusNotifierWatcher to trayLibravatar Ian Fan2018-12-31