From: ayin Date: Fri, 3 Aug 2007 23:15:34 +0000 (+0000) Subject: Fix compilation after last change. X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=c7181547cd01746e895bc30301212d07ef775a60;p=dana%2Furxvt.git Fix compilation after last change. --- 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