*fix* again issue 221, but this time with the suggested solution to take 32-bit icons...

git-svn-id: http://tint2.googlecode.com/svn/trunk@398 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
Andreas.Fink85
2010-02-28 07:58:50 +00:00
parent d9454cc8cf
commit cfff505f75
4 changed files with 35 additions and 14 deletions

View File

@@ -281,6 +281,7 @@ void render_image(Drawable d, int x, int y, int w, int h)
Picture pict_drawable = XRenderCreatePicture(server.dsp, d, XRenderFindVisualFormat(server.dsp, server.visual), 0, 0);
XRenderComposite(server.dsp, PictOpIn, pict_image, None, pict_image, 0, 0, 0, 0, 0, 0, w, h);
XRenderComposite(server.dsp, PictOpOver, pict_image, None, pict_drawable, 0, 0, 0, 0, x, y, w, h);
imlib_context_set_blend(1);
XFreePixmap(server.dsp, pmap_tmp);
XRenderFreePicture(server.dsp, pict_image);
XRenderFreePicture(server.dsp, pict_drawable);