-- 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: 7c3d9905a3b765784fcf2e2e656bda9e24d890d8:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

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

commit 7c3d9905a3b765784fcf2e2e656bda9e24d890d8
Author: Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
Date:   Thu Aug 11 08:39:10 2011 +0000

    Parse again hscale/vscale/auto for backward compatibility.

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

index b12641597184d1debba90f446c24b85d7fa0c2f7..

index ..191084a96b373838b8a31e68f3b52de3f400b508 100644

--- a/src/background.C
+++ b/src/background.C
@@ -300,13 +300,29 @@ rxvt_term::bg_set_geometry (const char *geom, bool update)
             {
               new_flags |= BG_PROP_SCALE;
             }
+          else if (!strcasecmp (arr[i], "hscale"))
+            {
+              w = windowScale;
+              h = noScale;
+              geom_flags |= WidthValue|HeightValue;
+            }
+          else if (!strcasecmp (arr[i], "vscale"))
+            {
+              h = windowScale;
+              w = noScale;
+              geom_flags |= WidthValue|HeightValue;
+            }
           else if (!strcasecmp (arr[i], "scale"))
             {
-              if (h == 0) h = windowScale;
-              if (w == 0) w = windowScale;
-
+              w = h = windowScale;
               geom_flags |= WidthValue|HeightValue;
             }
+          else if (!strcasecmp (arr[i], "auto"))
+            {
+              w = h = windowScale;
+              x = y = centerAlign;
+              geom_flags |= WidthValue|HeightValue|XValue|YValue;
+            }
           else if (!strcasecmp (arr[i], "root"))
             {
               new_flags |= BG_TILE|BG_ROOT_ALIGN;

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

-- Response ended

-- Page fetched on Sun Jun 2 09:48:40 2024