-- 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: 375244a27770c7681d65ec010fa3e8b81eeeb9a9:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

git://git.thebackupbox.net/rxvt-unicode-sixel

commit 375244a27770c7681d65ec010fa3e8b81eeeb9a9
Author: Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
Date:   Tue Apr 10 15:19:22 2012 +0000

    Cosmetics.

diff --git a/src/background.C b/src/background.C

index 7b2e52841b2494c53e75a5fdff1dc47a1dad8fd2..

index ..e7f20c9629794879a82d0f5e6ae98e5944c11cab 100644

--- a/src/background.C
+++ b/src/background.C
@@ -336,12 +336,13 @@ rxvt_term::get_image_geometry (int image_width, int image_height, int &w, int &h
       y = make_align_position (v_align, target_height, h);
     }

-  bg_flags &= ~BG_IS_SIZE_SENSITIVE;
   if (!(bg_flags & BG_TILE)
       || h_scale || v_scale
       || (!(bg_flags & BG_ROOT_ALIGN) && (h_align || v_align))
-      || w > target_width || h > target_height)
+      || image_width > target_width || image_height > target_height)
     bg_flags |= BG_IS_SIZE_SENSITIVE;
+  else
+    bg_flags &= ~BG_IS_SIZE_SENSITIVE;
 }

 #  ifdef HAVE_PIXBUF
@@ -677,10 +678,10 @@ rxvt_term::bg_set_blur (const char *geom)
       v_blurRadius = vr;
     }

-  if (h_blurRadius == 0 || v_blurRadius == 0)
-    bg_flags &= ~BG_NEEDS_BLUR;
-  else
+  if (h_blurRadius && v_blurRadius)
     bg_flags |= BG_NEEDS_BLUR;
+  else
+    bg_flags &= ~BG_NEEDS_BLUR;

   return changed;
 }

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 12:03:25 2024