systray: Prevent segfault if systray disabled

This commit is contained in:
o9000 2015-07-23 19:38:26 +02:00
parent 50e21b4077
commit e218b3fa96

View file

@ -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;