--- rxvt-unicode/src/rxvt.h 2007/06/30 23:58:29 1.276 +++ rxvt-unicode/src/rxvt.h 2007/07/12 22:33:16 1.277 @@ -1022,6 +1022,10 @@ #ifdef XPM_BACKGROUND bgPixmap_t bgPixmap; #ifdef HAVE_AFTERIMAGE + struct ASVisual *asv; + /* to get libAfterImage to work with multiple displays we use that hack : */ + /* should not need that with libAfterImage version >= 1.15 */ +#define AFTERIMAGE_DPY_OP(_op) ({::dpy = dpy; _op;}) ASImageManager *asimman; ASImage *original_asim; struct { unsigned int width, height; } xpmAttr; /* all we need is width/height */