// watch for the icon trying to resize itself!
XSelectInput(server.dsp, traywin->tray_id, StructureNotifyMask);
if (real_transparency || systray.alpha != 100 || systray.brightness != 0 || systray.saturation != 0) {
// watch for the icon trying to resize itself!
XSelectInput(server.dsp, traywin->tray_id, StructureNotifyMask);
if (real_transparency || systray.alpha != 100 || systray.brightness != 0 || systray.saturation != 0) {
traywin->render_timeout = 0;
// good systray icons support 32 bit depth, but some icons are still 24 bit.
traywin->render_timeout = 0;
// good systray icons support 32 bit depth, but some icons are still 24 bit.
XCopyArea(server.dsp, systray.area.pix.pmap, 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();
XCopyArea(server.dsp, systray.area.pix.pmap, 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();
else
XClearArea(server.dsp, traywin->id, 0, 0, traywin->width, traywin->height, True);
}
else
XClearArea(server.dsp, traywin->id, 0, 0, traywin->width, traywin->height, True);
}