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

@@ -748,6 +748,7 @@ void autohide_show(void* p)
else
XMoveResizeWindow(server.dsp, panel->main_win, panel->posx, panel->posy, panel->area.width, panel->area.height);
}
refresh_systray = 1; // ugly hack, because we actually only need to call XSetBackgroundPixmap
panel_refresh = 1;
}