return win;
}
+static int colour_set = -1;
/* if no argb visual is configured sets background to ParentRelative for the Window and all parents,
else real transparency is used */
void set_transparent_background(Window win, int alpha)
{
- static int colour_set = -1;
(void)alpha; /* disable warnings when unused */
#ifdef USE_ARGB
XFreeGC(display, window.gc);
}
memset(&window, 0, sizeof(struct conky_window));
+ colour_set = -1;
}
void init_window(int own_window, int w, int h, int set_trans, int back_colour,