systray: Prevent segfault if systray disabled
This commit is contained in:
parent
50e21b4077
commit
e218b3fa96
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue