X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fframerender.c;h=2fec1a55d6c5e640b880f5754431114f89a8842d;hb=0f677834e253dfd18a246c8811bf4a4e364d5e0e;hp=3a5267a779e1c2adff17f17e7e30a207987b3fc5;hpb=a1511e465550501dee66c0474d3e3867b97fd1fb;p=chaz%2Fopenbox diff --git a/openbox/framerender.c b/openbox/framerender.c index 3a5267a7..2fec1a55 100644 --- a/openbox/framerender.c +++ b/openbox/framerender.c @@ -41,6 +41,8 @@ void framerender_frame(ObFrame *self) RrColorPixel(ob_rr_theme->cb_focused_color) : RrColorPixel(ob_rr_theme->cb_unfocused_color)); + XSetWindowBackground(ob_display, self->backback, px); + XClearWindow(ob_display, self->backback); XSetWindowBackground(ob_display, self->innerleft, px); XClearWindow(ob_display, self->innerleft); XSetWindowBackground(ob_display, self->innertop, px); @@ -342,6 +344,7 @@ static void framerender_icon(ObFrame *self, RrAppearance *a) a->texture[0].type = RR_TEXTURE_RGBA; a->texture[0].data.rgba.width = icon->width; a->texture[0].data.rgba.height = icon->height; + a->texture[0].data.rgba.alpha = 0xff; a->texture[0].data.rgba.data = icon->data; } else a->texture[0].type = RR_TEXTURE_NONE;