--- rxvt-unicode/src/init.C 2007/05/29 04:02:18 1.183 +++ rxvt-unicode/src/init.C 2007/07/24 14:38:59 1.192 @@ -1,4 +1,4 @@ -/*----------------------------------------------------------------------* + /*----------------------------------------------------------------------* * File: init.C *----------------------------------------------------------------------* * @@ -185,7 +185,7 @@ pix_colors_unfocused = new rxvt_color [TOTAL_COLORS]; #endif -#if defined(XPM_BACKGROUND) || defined(TRANSPARENT) +#if defined(XPM_BACKGROUND) || defined(ENABLE_TRANSPARENCY) pixmap = None; #endif @@ -201,7 +201,6 @@ saveLines = SAVELINES; numpix_colors = TOTAL_COLORS; - refresh_limit = 1; refresh_type = SLOW_REFRESH; oldcursor.row = oldcursor.col = -1; @@ -216,10 +215,12 @@ set_option (Opt_scrollBar); set_option (Opt_scrollTtyOutput); set_option (Opt_jumpScroll); + set_option (Opt_skipScroll); set_option (Opt_secondaryScreen); set_option (Opt_secondaryScroll); set_option (Opt_pastableTabs); set_option (Opt_intensityStyles); + set_option (Opt_iso14755_52); return true; } @@ -317,6 +318,11 @@ select_visual (strtol (rs[Rs_depth], 0, 0)); #endif +#ifdef HAVE_AFTERIMAGE + //TODO: is this neccessary for future versions who check the global var whern the macro doesn'T set it? + ::dpy = NULL ; /* init global var from libAfter... */ + asv = AFTERIMAGE_DPY_OP (create_asvisual_for_id (dpy, display->screen, depth, XVisualIDFromVisual (visual), cmap, NULL)); +#endif free (r_argv); for (int i = NUM_RESOURCES; i--; ) @@ -1037,7 +1043,10 @@ #ifdef XPM_BACKGROUND if (rs[Rs_backgroundPixmap] != NULL - && !option (Opt_transparent)) +#ifndef HAVE_AFTERIMAGE + && !option (Opt_transparent) +#endif + ) { const char *p = rs[Rs_backgroundPixmap];