updated version #, imlib2 fixed, i forgot when the window size changes we totally...
[monky] / src / x11.h
index cb45b77..d30a775 100644 (file)
--- a/src/x11.h
+++ b/src/x11.h
 #include <X11/Xft/Xft.h>
 #endif
 
-#ifdef HAVE_XDBE
-#include <X11/extensions/Xdbe.h>
-#endif
-
 #define ATOM(a) XInternAtom(display, #a, False)
 
 #ifdef OWN_WINDOW
@@ -33,7 +29,7 @@ enum _window_hints {
        HINT_ABOVE,
        HINT_STICKY,
        HINT_SKIP_TASKBAR,
-       HINT_SKIP_PAGER
+       HINT_FULLSCREEN
 };
 
 #define SET_HINT(mask, hint)   (mask |= (1 << hint))
@@ -49,7 +45,7 @@ struct conky_window {
        long border_inner_margin, border_outer_margin, border_width;
 
 #ifdef HAVE_XDBE
-       XdbeBackBuffer back_buffer;
+        Pixmap back_buffer;
 #endif
 #ifdef XFT
        XftDraw *xftdraw;
@@ -65,6 +61,8 @@ struct conky_window {
        unsigned int type;
        unsigned long hints;
 #endif
+    int depth;
+       GC gc_back;
 };
 
 #ifdef HAVE_XDBE