systray: Prevent segfault if systray disabled
o9000 o9000
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
src/systray/systraybar.c
→
src/systray/systraybar.c
@@ -66,6 +66,7 @@ const int max_bad_resize_events = 10;
void default_systray() { + systray_enabled = 0; memset(&systray, 0, sizeof(Systraybar)); render_background = 0; chrono = 0;