all repos — tint2 @ 40d8d05be7d3dcf6db04bcdf2a0db713996f9780

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

Reverted systray icon rendering to fix issue 479

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

40d8d05be7d3dcf6db04bcdf2a0db713996f9780

parent

5e0e2c4af9172e42788552c3a9da7742444dccf0

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

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

@@ -600,9 +600,7 @@ if (systray.alpha != 100 || systray.brightness != 0 || systray.saturation != 0)

adjust_asb(data, traywin->width, traywin->height, systray.alpha, (float)systray.saturation/100, (float)systray.brightness/100); imlib_image_put_back_data(data); XCopyArea(server.dsp, render_background, systray.area.pix, server.gc, traywin->x-systray.area.posx, traywin->y-systray.area.posy, traywin->width, traywin->height, traywin->x-systray.area.posx, traywin->y-systray.area.posy); - imlib_context_set_blend(1); - imlib_context_set_drawable(systray.area.pix); - imlib_render_image_on_drawable(traywin->x-systray.area.posx, traywin->y-systray.area.posy); + render_image(systray.area.pix, traywin->x-systray.area.posx, traywin->y-systray.area.posy, traywin->width, traywin->height); XCopyArea(server.dsp, systray.area.pix, panel->main_win, server.gc, traywin->x-systray.area.posx, traywin->y-systray.area.posy, traywin->width, traywin->height, traywin->x, traywin->y); imlib_free_image_and_decache(); XFreePixmap(server.dsp, tmp_pmap);