From ab550887849088c5a6360d1babb72d62474f41ee Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Wed, 3 Feb 2010 22:36:04 +0100 Subject: [PATCH] Fix compilation without --enable-argb Bug reported by zaphire --- src/x11.c | 2 +- src/x11.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/x11.c b/src/x11.c index fff366d..dcb5df1 100644 --- a/src/x11.c +++ b/src/x11.c @@ -53,9 +53,9 @@ int use_xdbe; #ifdef USE_ARGB int use_argb_visual; -int own_window_argb_value; int have_argb_visual; #endif /* USE_ARGB */ +int own_window_argb_value; /* some basic X11 stuff */ Display *display = NULL; diff --git a/src/x11.h b/src/x11.h index 4e8e982..cb45b77 100644 --- a/src/x11.h +++ b/src/x11.h @@ -80,9 +80,9 @@ extern int use_xft; extern int use_argb_visual; /* 1 if use_argb_visual=1 and argb visual was found, otherwise 0 */ extern int have_argb_visual; +#endif /* range of 0-255 for alpha */ extern int own_window_argb_value; -#endif extern Display *display; extern int display_width; -- 1.7.9.5