cleanup comment
git-svn-id: http://tint2.googlecode.com/svn/trunk@372 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
parent
de5fab0830
commit
2977d9379d
1 changed files with 0 additions and 10 deletions
|
@ -345,17 +345,7 @@ gboolean add_icon(Window id)
|
|||
|
||||
error = FALSE;
|
||||
XWindowAttributes attr;
|
||||
/* GSList *l;
|
||||
printf("add_icon\n");
|
||||
for (l = systray.list_icons; l ; l = l->next) {
|
||||
traywin = (TrayWindow*)l->data;
|
||||
//if (traywin->hide) continue;
|
||||
|
||||
XGetWindowAttributes(server.dsp, traywin->tray_id, &attr);
|
||||
printf(" icon %lx, depth %d, width %d, height %d\n", traywin->tray_id, attr.depth, attr.width, attr.height);
|
||||
}*/
|
||||
XGetWindowAttributes(server.dsp, id, &attr);
|
||||
//printf("last icon %lx, depth %d, width %d, height %d\n", id, attr.depth, attr.width, attr.height);
|
||||
unsigned long mask = 0;
|
||||
XSetWindowAttributes set_attr;
|
||||
if (attr.depth != server.depth || systray.alpha != 100 || systray.brightness != 0 || systray.saturation != 0 ) {
|
||||
|
|
Loading…
Reference in a new issue