+
+/*reduce depth here...
+ also, this is not the right place for this code, it's only here so
+ text rendering shows up for now.
+*/
+ if (l->surface.data.planar.grad != Background_Solid) {
+ im = XCreateImage(ob_display, render_visual, render_depth,
+ ZPixmap, 0, NULL, w, h, 32, 0);
+ g_assert(im != None);
+ im->byte_order = endian;
+ im->data = l->surface.data.planar.pixel_data;
+ XPutImage(ob_display, l->pixmap, DefaultGC(ob_display, ob_screen),
+ im, 0, 0, x, y, w, h);
+ im->data = NULL;
+ XDestroyImage(im);
+ }
+