repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: 1b593b7064c8ceba8010166654723f019624d3e8:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit 1b593b7064c8ceba8010166654723f019624d3e8
Author: Emanuele Giaquinta 
Date:   Tue Jan 17 19:51:30 2012 +0000

    Honour -pixmap option if -tr is also specified and
    make_transparency_pixmap fails.

diff --git a/src/background.C b/src/background.C
index 8df9cf986cee3d9bc18a4d68ede9e2c0ee6f6ff5..
index ..fef878a7161a058c6ebfe156c297cd3e92320c78 100644
--- a/src/background.C
+++ b/src/background.C
@@ -1338,9 +1338,8 @@ rxvt_term::bg_render ()
     {
       /*  we need to re-generate transparency pixmap in that case ! */
       tr_flags = make_transparency_pixmap ();
-      if (tr_flags == 0)
-        return false;
-      bg_flags |= BG_IS_VALID;
+      if (tr_flags)
+        bg_flags |= BG_IS_VALID;
     }
 # endif

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