all repos — tint2 @ 59e56e5310bc9e952a58c3f2bb6136f0355682c3

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

Simplify systray rendering
o9000 mrovi9000@gmail.com
commit

59e56e5310bc9e952a58c3f2bb6136f0355682c3

parent

a6da0186e033c008c088ff7c0b39fd9570ad3762

1 files changed, 0 insertions(+), 21 deletions(-)

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

@@ -1186,31 +1186,10 @@ }

void systray_render_icon_from_image(TrayWindow *traywin) { - Panel *panel = systray.area.panel; if (!traywin->image) return; imlib_context_set_image(traywin->image); - 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); render_image(systray.area.pix, traywin->x - systray.area.posx, traywin->y - systray.area.posy); - XCopyArea(server.dsp, - systray.area.pix, - panel->temp_pmap, - server.gc, - traywin->x - systray.area.posx, - traywin->y - systray.area.posy, - traywin->width, - traywin->height, - traywin->x, - traywin->y); } void systray_render_icon_composited(void *t)