printf("Strange tray icon found with depth: %d\n", traywin->depth);
return;
}
- Picture pict_image = XRenderCreatePicture(server.dsp, traywin->id, f, 0, 0);
+ Picture pict_image;
+ if (real_transparency)
+ pict_image = XRenderCreatePicture(server.dsp, traywin->id, f, 0, 0);
+ else
+ pict_image = XRenderCreatePicture(server.dsp, traywin->tray_id, f, 0, 0);
Picture pict_drawable = XRenderCreatePicture(server.dsp, tmp_pmap, XRenderFindVisualFormat(server.dsp, server.visual32), 0, 0);
XRenderComposite(server.dsp, PictOpSrc, pict_image, None, pict_drawable, 0, 0, 0, 0, 0, 0, traywin->width, traywin->height);
XRenderFreePicture(server.dsp, pict_image);