-- 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: 5362010a7c681a395377317f31a276ae52e255e5: path_to: revision_to:
commit 5362010a7c681a395377317f31a276ae52e255e5 Author: Sasha Vasko <sashavasko@gmail.com> Date: Tue Jul 31 22:24:36 2007 +0000 added support for separate radii for vertical and horizontal blur in a form HxV diff --git a/src/xdefaults.C b/src/xdefaults.C
--- a/src/xdefaults.C +++ b/src/xdefaults.C @@ -267,7 +267,7 @@ optList[] = { #endif #ifdef HAVE_AFTERIMAGE STRG (Rs_blendtype, "blendType", "blt", "string", "background image blending type - alpha, tint, etc..."), - STRG (Rs_blurradius, "blurRadius", "blr", "number", "Gaussian Blur radius to apply to the root background"), + STRG (Rs_blurradius, "blurRadius", "blr", "HxV", "Gaussian Blur radii to apply to the root background"), #endif #ifndef NO_RESOURCES INFO ("xrm", "string", "X resource"), diff --git a/src/xpm.C b/src/xpm.C
--- a/src/xpm.C +++ b/src/xpm.C @@ -954,10 +954,17 @@ rxvt_term::check_our_parents_cb (time_watcher &w) if (rs[Rs_blurradius] && back_im) { - double r = atof(rs[Rs_blurradius]); - ASImage* tmp = blur_asimage_gauss (asv, back_im, r, r, 0xFFFFFFFF, - (original_asim == NULL || tint == TINT_LEAVE_SAME)?ASA_XImage:ASA_ASImage, - 100, ASIMAGE_QUALITY_DEFAULT); + ASImage* tmp; + int junk; + unsigned int hr = 1, vr = 1; + int flags = XParseGeometry (rs[Rs_blurradius], &junk, &junk, &hr, &vr); + if (!(flags&WidthValue)) + hr = 1; + if (!(flags&HeightValue)) + vr = hr; + tmp = blur_asimage_gauss (asv, back_im, hr, vr, 0xFFFFFFFF, + (original_asim == NULL || tint == TINT_LEAVE_SAME)?ASA_XImage:ASA_ASImage, + 100, ASIMAGE_QUALITY_DEFAULT); if (tmp) { destroy_asimage (&back_im);
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 11:30:38 2024