*** empty log message ***
authorayin <ayin>
Thu, 2 Aug 2007 15:01:30 +0000 (15:01 +0000)
committerayin <ayin>
Thu, 2 Aug 2007 15:01:30 +0000 (15:01 +0000)
src/init.C
src/rxvt.h

index 5dac46e0f74c41c127b88a0032089cede4438bf6..993e0579a076d732dcecaa20a9644b588e34ce67 100644 (file)
@@ -1040,11 +1040,7 @@ rxvt_term::create_windows (int argc, const char *const *argv)
   vt_ev.start (display, vt);
 
 #ifdef XPM_BACKGROUND
-  if (rs[Rs_backgroundPixmap] != NULL
-#ifndef HAVE_AFTERIMAGE  
-      && !option (Opt_transparent)
-#endif   
-    )
+  if (rs[Rs_backgroundPixmap] != NULL)
     {
       const char *p = rs[Rs_backgroundPixmap];
 
index c2f199858ed4a2b02a7089d70e3ef71193c3a706..5b563943051ca8412586d112009cd12297f953ca 100644 (file)
@@ -79,12 +79,6 @@ typedef struct termios ttymode_t;
 #  include <afterimage.h>
 #undef min
 #undef max
-#elif defined(XPM_BACKGROUND)
-# ifdef XPM_INC_X11
-#  include <X11/xpm.h>
-# else
-#  include <xpm.h>
-# endif
 #endif
 
 #ifndef STDIN_FILENO
@@ -758,12 +752,6 @@ enum {
 #define scrollbar_size()                (scrollBar.end - scrollBar.beg \
                                          - scrollbar_minheight ())
 
-#ifdef XPM_BACKGROUND
-# define XPMClearArea(a, b, c, d, e, f, g)      XClearArea((a), (b), (c), (d), (e), (f), (g))
-#else
-# define XPMClearArea(a, b, c, d, e, f, g)
-#endif
-
 typedef callback<void (const char *)> log_callback;
 typedef callback<int (int)> getfd_callback;
 
@@ -1020,14 +1008,10 @@ struct rxvt_term : zero_initialized, rxvt_vars, rxvt_screen {
   row_col_t       oldcursor;
 #ifdef XPM_BACKGROUND
   bgPixmap_t      bgPixmap;
-#ifdef HAVE_AFTERIMAGE  
   struct ASVisual  *asv;
   ASImageManager *asimman;
   ASImage        *original_asim;
   struct { unsigned int width, height; } xpmAttr; /* all we need is width/height */
-#else
-  XpmAttributes   xpmAttr;    /* originally loaded pixmap and its scaling */
-#endif  
 #endif
 
 #if ENABLE_OVERLAY