--- rxvt-unicode/src/background.h 2010/10/12 21:26:57 1.26 +++ rxvt-unicode/src/background.h 2010/10/31 11:15:29 1.32 @@ -35,12 +35,10 @@ tintFlags = tintSet | tintServerSide | tintNeeded | tintWholesome, blurNeeded = 1 << 12, - blurServerSide = 1 << 13, /* this doesn't work yet */ + blurServerSide = 1 << 13, isTransparent = 1 << 16, isInvalid = 1 << 17, - isVtOrigin = 1 << 18, /* if set pixmap has origin at corner of - vt window instead of parent[0]! */ hasChanged = 1 << 19, sizeSensitive = 1 << 20, }; @@ -54,13 +52,6 @@ transpTransformations = tintNeeded | blurNeeded, }; /* these flags are returned by make_transparency_pixmap if called */ - bool check_clearChanged () - { - bool r = flags & hasChanged; - flags &= ~hasChanged; - return r; - }; - # ifdef BG_IMAGE_FROM_FILE # ifdef HAVE_AFTERIMAGE ASImage *original_asim; @@ -104,7 +95,6 @@ bool set_target (rxvt_term *new_target); # ifdef ENABLE_TRANSPARENCY - int root_depth; /* obtained when target is set */ Pixmap root_pixmap; /* current root pixmap set */ rxvt_color tint; int shade; @@ -115,8 +105,9 @@ bool set_tint (rxvt_color &new_tint); bool unset_tint (); bool set_shade (const char *shade_str); - bool tint_pixmap (Pixmap pixmap, Window root, int width, int height); - bool set_root_pixmap (); + bool blur_pixmap (Pixmap pixmap, Visual *visual, int width, int height); + bool tint_pixmap (Pixmap pixmap, Visual *visual, int width, int height); + void set_root_pixmap (); unsigned long make_transparency_pixmap ();/* returns combination of the transpTransformations flags */ # endif @@ -129,11 +120,6 @@ bool window_size_sensitive (); bool window_position_sensitive (); - bool is_parentOrigin () - { - return !(flags & isVtOrigin); - }; - bool need_client_side_rendering (); void apply (); bool render ();