all repos — tint2 @ a94d75d39333680b2da39fc21fa5daa7315410d5

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

fixed systray_asb in fake transparency (see r407)

git-svn-id: http://tint2.googlecode.com/svn/trunk@422 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
thilor77 thilor77@121b4492-b84c-0410-8b4c-0d4edfb3f3cc
commit

a94d75d39333680b2da39fc21fa5daa7315410d5

parent

3adb7e2080b79f2ad4e8ec3bc1f82710ef5fbd7e

1 files changed, 5 insertions(+), 1 deletions(-)

jump to
M src/systray/systraybar.csrc/systray/systraybar.c

@@ -549,7 +549,11 @@ else {

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);