repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: b0d587f63843ed9e53245f8c0bb4fef7002c39e5: path_to: revision_to:
commit b0d587f63843ed9e53245f8c0bb4fef7002c39e5 Author: Emanuele GiaquintaDate: Sat Feb 17 16:43:58 2007 +0000 *** empty log message *** diff --git a/src/rxvt.h b/src/rxvt.h
--- a/src/rxvt.h
+++ b/src/rxvt.h
@@ -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
diff --git a/src/xpm.C b/src/xpm.C
--- 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
}
/*
-----END OF PAGE-----