add: XCopyArea(WMScreenDisplay(scr), pix, panel->previewNoText, gc, 0, 0, previewPositions[part].size.width, previewPositions[part].size.height, previewPositions[part].pos.x, previewPositions[part].pos.y);
context: renderPreview(_Panel *panel, GC gc, int part, int relief){    WMListItem *item;    TextureListItem *titem;    Pixmap pix;    WMScreen *scr = WMWidgetScreen(panel->box);    item = WMGetListItem(panel->texLs, panel->textureIndex[part]);    titem = (TextureListItem*)item->clientData;    pix = renderTexture(scr, titem->prop, 			previewPositions[part].size.width,			previewPositions[part].size.height,			NULL, relief);    XCopyArea(WMScreenDisplay(scr), pix, panel->preview, gc, 0, 0, 	      previewPositions[part].size.width, 	      previewPositions[part].size.height,	      previewPositions[part].pos.x,	      previewPositions[part].pos.y);    XFreePixmap(WMScreenDisplay(scr), pix);}