From: Dana Jansens Date: Sun, 16 Mar 2008 16:25:08 +0000 (-0400) Subject: correctly make the root background's picture for the case when no root pixmap has... X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=ccd38fb58d37702646bf18c38b3be048f8b18459;p=dana%2Fdcompmgr.git correctly make the root background's picture for the case when no root pixmap has been set --- diff --git a/render.c b/render.c index be00e6f..bc55044 100644 --- a/render.c +++ b/render.c @@ -116,8 +116,6 @@ render_init(d_screen_t *sc, int id) sc->window_opacity_change = render_window_opacity_change; sc->window_damage = render_window_damage; - d->solid_bg = solid_picture(d, sc, 0xffff, 0x6060, 02020, 0x3030); - d->shadowalpha = 0x3333; /* 20% */ d->xshadowoff = 2; d->yshadowoff = 2; @@ -130,6 +128,8 @@ render_init(d_screen_t *sc, int id) d->argb32_format = find_argb32_format(d); d->root_picture = XCB_NONE; + d->solid_bg = solid_picture(d, sc, 0xffff, 0x6060, 02020, 0x3030); + d->overlay_picture = xcb_generate_id(sc->dpy->conn); xcb_render_create_picture(sc->dpy->conn, d->overlay_picture, sc->overlay, d->root_format,