mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-15 09:44:04 +00:00
Fix compilation without --enable-argb
Bug reported by zaphire
This commit is contained in:
parent
d2ce1d2909
commit
6526b47b2c
@ -53,9 +53,9 @@ int use_xdbe;
|
|||||||
|
|
||||||
#ifdef USE_ARGB
|
#ifdef USE_ARGB
|
||||||
int use_argb_visual;
|
int use_argb_visual;
|
||||||
int own_window_argb_value;
|
|
||||||
int have_argb_visual;
|
int have_argb_visual;
|
||||||
#endif /* USE_ARGB */
|
#endif /* USE_ARGB */
|
||||||
|
int own_window_argb_value;
|
||||||
|
|
||||||
/* some basic X11 stuff */
|
/* some basic X11 stuff */
|
||||||
Display *display = NULL;
|
Display *display = NULL;
|
||||||
|
@ -80,9 +80,9 @@ extern int use_xft;
|
|||||||
extern int use_argb_visual;
|
extern int use_argb_visual;
|
||||||
/* 1 if use_argb_visual=1 and argb visual was found, otherwise 0 */
|
/* 1 if use_argb_visual=1 and argb visual was found, otherwise 0 */
|
||||||
extern int have_argb_visual;
|
extern int have_argb_visual;
|
||||||
|
#endif
|
||||||
/* range of 0-255 for alpha */
|
/* range of 0-255 for alpha */
|
||||||
extern int own_window_argb_value;
|
extern int own_window_argb_value;
|
||||||
#endif
|
|
||||||
|
|
||||||
extern Display *display;
|
extern Display *display;
|
||||||
extern int display_width;
|
extern int display_width;
|
||||||
|
Loading…
Reference in New Issue
Block a user