Simplify systray rendering
o9000 mrovi9000@gmail.com
1 files changed,
0 insertions(+),
21 deletions(-)
jump to
M
src/systray/systraybar.c
→
src/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)