projects
/
monky
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1eedf26
)
Fix compilation without --enable-argb
author
Pavel Labath
<pavelo@centrum.sk>
Wed, 3 Feb 2010 21:36:04 +0000
(22:36 +0100)
committer
Pavel Labath
<pavelo@centrum.sk>
Wed, 3 Feb 2010 21:36:04 +0000
(22:36 +0100)
Bug reported by zaphire
src/x11.c
patch
|
blob
|
history
src/x11.h
patch
|
blob
|
history
diff --git
a/src/x11.c
b/src/x11.c
index
fff366d
..
dcb5df1
100644
(file)
--- 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
(file)
--- 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;