-- 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:
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
--- 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