rem: XClearArea(dpy, d, rect->pos.x,rect->pos.y, width, 64, False);
add: XClearArea(dpy, d, rect->pos.x, rect->pos.y, width, rect->size.height, False);
context: void drawIconProc(WMList *lPtr, int index, Drawable d, char *text,                        int state, WMRect *rect) {    IconPanel *panel = WMGetHangedData(lPtr);    GC gc = panel->scr->draw_gc;    GC copygc = panel->scr->copy_gc;    char *buffer, *dirfile, *iconfile;    WMPixmap *pixmap;    WMColor *blackcolor;    WMColor *whitecolor;    WMSize size;    WMScreen *wmscr=WMWidgetScreen(panel->win);    int width;    if(!panel->preview) return;    width = rect->size.width;    blackcolor = WMBlackColor(wmscr);    whitecolor = WMWhiteColor(wmscr);    dirfile = WMGetListSelectedItem(panel->dirList)->text;    buffer = wmalloc(strlen(dirfile)+strlen(text)+4);    sprintf(buffer,"%s/%s" ,dirfile,text);		    pixmap = WMCreatePixmapFromFile(WMWidgetScreen(panel->win), buffer);    free(buffer);    if (!pixmap) {        WMRemoveListItem(lPtr, index);        return;    }    XClearArea(dpy, d, rect->pos.x,rect->pos.y, width, 64, False);    XSetClipMask(dpy, gc, None);    XDrawRectangle(dpy, d, WMColorGC(whitecolor), rect->pos.x + 5,rect->pos.y +5, width - 10, 54);    if (state&WLDSSelected) {        XFillRectangle(dpy, d, WMColorGC(whitecolor), rect->pos.x + 5,rect->pos.y +5, width - 10, 54);    }    XSetClipMask(dpy, copygc, WMGetPixmapMaskXID(pixmap));    XSetClipOrigin(dpy, copygc, rect->pos.x, rect->pos.y);    size = WMGetPixmapSize(pixmap);    XCopyArea(dpy, WMGetPixmapXID(pixmap), d, copygc, 0, 0,             size.width>100?100:size.width, size.height>64?64:size.height, rect->pos.x,rect->pos.y);    {        int i,j;        for(i=-1;i<2;i++)        for(j=-1;j<2;j++)            WMDrawString(wmscr, d, WMColorGC(whitecolor), panel->normalfont , rect->pos.x+i+7, rect->pos.y+62+j-WMFontHeight(panel->normalfont), text, strlen(text));    }    WMDrawString(wmscr, d, WMColorGC(blackcolor), panel->normalfont , rect->pos.x+7, rect->pos.y+62-WMFontHeight(panel->normalfont), text, strlen(text));	WMReleasePixmap(pixmap);    /* I hope it is better to do not use cache / on my box it is fast nuff */    XFlush(dpy);    WMReleaseColor(blackcolor);    WMReleaseColor(whitecolor);}