*add* render finitely often systray icons (at most every 50 ms)

git-svn-id: http://tint2.googlecode.com/svn/trunk@324 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
Andreas.Fink85
2010-01-06 19:47:12 +00:00
parent 349cb2f023
commit 35ace40a05
3 changed files with 18 additions and 3 deletions

View File

@@ -855,7 +855,7 @@ int main (int argc, char *argv[])
XDamageNotifyEvent* de = (XDamageNotifyEvent*)&e;
for (l = systray.list_icons; l ; l = l->next) {
traywin = (TrayWindow*)l->data;
if ( traywin->id == de->drawable ) {
if ( traywin->id == de->drawable && !de->more ) {
systray_render_icon(traywin);
break;
}