1
1
mirror of https://github.com/swaywm/sway synced 2024-11-23 00:51:58 +01:00
sway/swaybar
Furkan Sahin 1311685d1c 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.

(cherry picked from commit 00e9a941523baa4afa1f9c077235aa7aa5e8aeab)
2024-09-29 17:27:18 +02:00
..
tray swaybar: Fix 100% cpu usage if dbus dies. 2024-09-29 17:27:18 +02:00
bar.c swaybar: Fix 100% cpu usage if dbus dies. 2024-09-29 17:27:18 +02:00
config.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
i3bar.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
image.c common: move load_image to swaybar 2023-11-23 20:42:04 +01:00
input.c swaybar: Implement wp_cursor_shape_v1 2023-07-31 10:34:11 +02:00
ipc.c swaybar: Fix 100% cpu usage if dbus dies. 2024-09-29 17:27:18 +02:00
main.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
meson.build common: move load_image to swaybar 2023-11-23 20:42:04 +01:00
render.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
status_line.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
swaybar-protocol.7.scd man: update maintainer 2021-01-08 09:33:51 +01:00