*** empty log message ***
authorayin <ayin>
Sat, 17 Feb 2007 16:43:58 +0000 (16:43 +0000)
committerayin <ayin>
Sat, 17 Feb 2007 16:43:58 +0000 (16:43 +0000)
src/rxvt.h
src/xpm.C

index b110a547d57cce4509235446f88fd06c7513acfc..123a1ca66c2b6a64df78e3413764b2dc4c503a3f 100644 (file)
@@ -907,8 +907,6 @@ struct rxvt_term : zero_initialized, rxvt_vars, rxvt_screen {
   unsigned char   want_refresh:1,
 #ifdef TRANSPARENT
                   want_full_refresh:1, /* awaiting full screen refresh      */
-#endif
-#if defined(XPM_BACKGROUND) || defined(TRANSPARENT)
                   am_transparent:1,    /* is a transparent term             */
                   am_pixmap_trans:1,   /* transparency w/known root pixmap  */
 #endif
index 4efbfb20e35afb63952f81ba9d0425e9691b2ff0..3d17244a11c5fa47e66e24925ddaadac17d6b399 100644 (file)
--- a/src/xpm.C
+++ b/src/xpm.C
@@ -177,7 +177,9 @@ rxvt_term::resize_pixmap ()
     { /* So be it: I'm not using pixmaps */
       pixmap = None;
 
+#ifdef TRANSPARENT
       if (!OPTION (Opt_transparent) || !am_transparent)
+#endif
         XSetWindowBackground (dpy, vt, pix_colors[Color_bg]);
 
       return;
@@ -262,7 +264,9 @@ rxvt_term::resize_pixmap ()
   XSetWindowBackgroundPixmap (dpy, vt, pixmap);
 
   XFreeGC (dpy, gc);
+#ifdef TRANSPARENT
   am_transparent = 0;
+#endif
 }
 
 /*