// freedesktop specification doesn't allow multi systray
Systraybar systray;
+int refresh_systray;
void init_systray()
systray.area.parent = panel;
systray.area.panel = panel;
+ systray.area._draw_foreground = draw_systray;
systray.area._resize = resize_systray;
+ refresh_systray = 0;
// configure systray
// draw only one systray (even with multi panel)
}
+void draw_systray(void *obj, cairo_t *c, int active)
+{
+ // tint2 don't draw systray icons. just the background.
+ refresh_systray = 1;
+}
+
+
void resize_systray(void *obj)
{
Systraybar *sysbar = obj;
}
-void refresh_systray()
+void refresh_systray_icon()
{
TrayWindow *traywin;
GSList *l;