aboutsummaryrefslogtreecommitdiff
path: root/swaybar/config.c
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2024-09-25 06:35:30 -0500
committerFurkan Sahin <furkan-dev@proton.me>2024-09-25 06:35:30 -0500
commita7544ec220f6245083f9f939f7a44130965e17e6 (patch)
tree1107e55b125e0ce45a342e3a0ffed85c1af19bed /swaybar/config.c
parentff6aa2e65db586f80360c1d65857dcb7439ac7d7 (diff)
swaybar: Fix 100% cpu usage if dbus dies.
Currently, swaybar does not gracefully die if it detects that the dbus connection was lost. Although it's not recommended to restart dbus without restarting the compositor, it can very easily happen. In the case it does, compositor's tray should not consume 100% cpu until it has to be force killed. apply suggestions just setting the bar to not running will call teardown and unref the dbus.
Diffstat (limited to 'swaybar/config.c')
0 files changed, 0 insertions, 0 deletions