-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: a34d0020b99c06c1f33c21c07702d61d1c02ef3e: path_to: revision_to:
commit a34d0020b99c06c1f33c21c07702d61d1c02ef3e Author: Emanuele Giaquinta <emanuele.giaquinta@gmail.com> Date: Mon Jan 10 20:46:20 2011 +0000 Simplify. diff --git a/src/background.C b/src/background.C
--- a/src/background.C +++ b/src/background.C @@ -177,15 +177,6 @@ bgPixmap_t::window_position_sensitive () return false; } -bool bgPixmap_t::need_client_side_rendering () -{ -# ifdef HAVE_AFTERIMAGE - if (original_asim) - return true; -# endif - return false; -} - # ifdef BG_IMAGE_FROM_FILE static inline bool check_set_scale_value (int geom_flags, int flag, unsigned int &scale, unsigned int new_value) @@ -942,6 +933,7 @@ bgPixmap_t::set_file (const char *file) if (original_asim) safe_asimage_destroy (original_asim); original_asim = image; + flags |= CLIENT_RENDER; have_image = true; return true; } @@ -1365,7 +1357,7 @@ bgPixmap_t::make_transparency_pixmap () result |= transpPmapTiled; XFreeGC (dpy, gc); - if (!need_client_side_rendering ()) + if (!(flags & CLIENT_RENDER)) { if ((flags & blurNeeded) && (flags & HAS_RENDER_CONV)) diff --git a/src/background.h b/src/background.h
--- a/src/background.h +++ b/src/background.h @@ -36,6 +36,7 @@ struct bgPixmap_t HAS_RENDER = 1 << 12, HAS_RENDER_CONV = 1 << 13, + CLIENT_RENDER = 1 << 14, isTransparent = 1 << 16, isInvalid = 1 << 17, @@ -120,7 +121,6 @@ struct bgPixmap_t bool window_size_sensitive (); bool window_position_sensitive (); - bool need_client_side_rendering (); void apply (); bool render (); void invalidate ()
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 09:49:47 2024