From c7181547cd01746e895bc30301212d07ef775a60 Mon Sep 17 00:00:00 2001 From: ayin Date: Fri, 3 Aug 2007 23:15:34 +0000 Subject: [PATCH] Fix compilation after last change. --- src/command.C | 2 +- src/init.C | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/command.C b/src/command.C index ffcd53e3..9d5f5262 100644 --- a/src/command.C +++ b/src/command.C @@ -1486,7 +1486,7 @@ rxvt_term::x_cb (XEvent &ev) { seen_resize = 1; resize_all_windows (ev.xconfigure.width, ev.xconfigure.height, 1); -#ifdef HAVE_BG_PIXMAP +#ifdef XPM_BACKGROUND /* TODO: replace with update_pixmap() that should unify transparency and bg image handling ! */ if (!option (Opt_transparent) && bgPixmap.window_size_sensitive ()) { diff --git a/src/init.C b/src/init.C index cb93074d..69c47ad9 100644 --- a/src/init.C +++ b/src/init.C @@ -206,8 +206,10 @@ rxvt_term::init_vars () bgPixmap.original_asim = NULL; #endif /* bgPixmap.w = bgPixmap.h = 0; */ +#ifdef XPM_BACKGROUND bgPixmap.h_scale = bgPixmap.v_scale = 0; bgPixmap.h_align = bgPixmap.v_align = 0; +#endif bgPixmap.flags = 0; bgPixmap.pixmap = None; #endif -- 2.34.1