--- rxvt-unicode/src/background.h 2010/08/31 15:14:06 1.19 +++ rxvt-unicode/src/background.h 2010/10/03 20:48:34 1.22 @@ -11,6 +11,10 @@ # undef max #endif +#ifdef HAVE_PIXBUF +#include +#endif + #if defined(BG_IMAGE_FROM_FILE) || defined(ENABLE_TRANSPARENCY) # define HAVE_BG_PIXMAP 1 /* to simplify further usage */ struct bgPixmap_t @@ -37,6 +41,7 @@ isVtOrigin = 1 << 18, /* if set pixmap has origin at corner of vt window instead of parent[0]! */ hasChanged = 1 << 19, + sizeSensitive = 1 << 20, }; unsigned int flags; @@ -60,6 +65,11 @@ ASImage *original_asim; # endif +# ifdef HAVE_PIXBUF + GdkPixbuf *pixbuf; +# endif + + void get_image_geometry (int image_width, int image_height, int &w, int &h, int &x, int &y); bool render_image (unsigned long background_flags); bool have_image;