--- rxvt-unicode/src/init.C 2007/06/09 09:05:38 1.186 +++ rxvt-unicode/src/init.C 2007/07/24 14:40:41 1.193 @@ -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,6 +215,7 @@ 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); @@ -318,6 +318,11 @@ select_visual (strtol (rs[Rs_depth], 0, 0)); #endif +#ifdef HAVE_AFTERIMAGE + //TODO: why set it to 0 and then to dpy? + ::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--; )