*fix* issue 217

git-svn-id: http://tint2.googlecode.com/svn/trunk@391 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
Andreas.Fink85
2010-01-31 16:56:54 +00:00
parent 6155ce0f0c
commit cb5eea1bd3
2 changed files with 7 additions and 3 deletions

View File

@@ -694,7 +694,7 @@ int main (int argc, char *argv[])
XFlush (server.dsp);
panel = (Panel*)systray.area.panel;
if (refresh_systray && !panel->is_hidden) {
if (refresh_systray && panel && !panel->is_hidden) {
refresh_systray = 0;
// tint2 doen't draw systray icons. it just redraw background.
XSetWindowBackgroundPixmap (server.dsp, panel->main_win, panel->temp_pmap);