reverted my last checkin, because I forgot that XCopyArea only works if src.depth == dest.depth

minor bugfix if in hidden mode a new tray icon appears



git-svn-id: http://tint2.googlecode.com/svn/trunk@360 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
Andreas.Fink85
2010-01-17 20:02:56 +00:00
parent 5b645eeffb
commit 0e0ae86bfa
3 changed files with 9 additions and 7 deletions

View File

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