-- 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: 82ffa7b7e5c95d3eecf0b6e06b3f07be5d209d50:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

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

commit 82ffa7b7e5c95d3eecf0b6e06b3f07be5d209d50
Author: Marc Lehmann <schmorp@schmorp.de>
Date:   Fri Mar 17 18:29:29 2006 +0000

    *** empty log message ***

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

index cd82007103839d46233f21272adc4208bb2c934a..

index ..e59f0ad0ec839d9b6744bec79a1645f793d32d9a 100644

--- a/src/rxvtfont.C
+++ b/src/rxvtfont.C
@@ -1324,11 +1324,15 @@ rxvt_font_xft::draw (rxvt_drawable &d, int x, int y,
         {
           rxvt_drawable &d2 = d.screen->scratch_drawable (w, h);

-#if defined(XPM_BACKGROUND) || defined(TRANSPARENT)
-          if (bg < 0 && term->am_pixmap_trans)
+          if (0)
+            ;
+#ifdef TRANSPARENT
+          else if (bg < 0 && term->am_pixmap_trans)
             XCopyArea (disp, term->pixmap, d2, gc,
                        x + term->window_vt_x, y + term->window_vt_y,
                        w, h, 0, 0);
+#endif
+#ifdef XPM_BACKGROUND
           else if (bg < 0 && term->bgPixmap.pixmap)
             {
               XGCValues gcv;
@@ -1346,8 +1350,8 @@ rxvt_font_xft::draw (rxvt_drawable &d, int x, int y,

               XFreeGC (disp, gc2);
             }
-          else
 #endif
+          else
             XftDrawRect (d2, &term->pix_colors[bg].c, 0, 0, w, h);

           XftDrawGlyphSpec (d2, &term->pix_colors[fg].c, f, enc, ep - enc);

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

-- Response ended

-- Page fetched on Sun Jun 2 10:12:05 2024