--- rxvt-unicode/src/init.C 2007/07/24 14:40:41 1.193 +++ rxvt-unicode/src/init.C 2007/08/02 15:01:30 1.197 @@ -1,4 +1,4 @@ - /*----------------------------------------------------------------------* +/*----------------------------------------------------------------------* * File: init.C *----------------------------------------------------------------------* * @@ -319,9 +319,7 @@ #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)); + asv = create_asvisual_for_id (dpy, display->screen, depth, XVisualIDFromVisual (visual), cmap, NULL); #endif free (r_argv); @@ -886,7 +884,7 @@ XClassHint classHint; XWMHints wmHint; #if ENABLE_FRILLS - MWMHints mwmhints; + MWMHints mwmhints = { }; #endif XGCValues gcvalue; XSetWindowAttributes attributes; @@ -1042,11 +1040,7 @@ 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];