reverted Rev 407 because here it s breaking alls icon with systray + xcompmgr
git-svn-id: http://tint2.googlecode.com/svn/trunk@437 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
parent
20f181fdef
commit
b9544f0fa0
1 changed files with 4 additions and 4 deletions
|
@ -557,10 +557,10 @@ void systray_render_icon_now(void* t)
|
|||
return;
|
||||
}
|
||||
Picture pict_image;
|
||||
if (server.real_transparency)
|
||||
pict_image = XRenderCreatePicture(server.dsp, traywin->id, f, 0, 0);
|
||||
else
|
||||
pict_image = XRenderCreatePicture(server.dsp, traywin->tray_id, f, 0, 0);
|
||||
//if (server.real_transparency)
|
||||
//pict_image = XRenderCreatePicture(server.dsp, traywin->id, f, 0, 0);
|
||||
// reverted Rev 407 because here it's breaking alls icon with systray + xcompmgr
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue