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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user