rem: XClearArea(dpy, d, rects[0].x, rects[0].y, rects[0].width, rects[0].height, False);
add: XFillRectangles(dpy, d, gc, rects, 1);
context: static void pixmapDraw(WMScreen *scr, Drawable d, GC gc,		       WMPixmap *pixmap, WMRect rect, Bool selected){    int x, y;    XRectangle rects[1];    Display *dpy = WMScreenDisplay(scr);    WMSize size;    rects[0].x = rect.pos.x+1;    rects[0].y = rect.pos.y+1;    rects[0].width = rect.size.width-1;    rects[0].height = rect.size.height-1;    XSetClipRectangles(dpy, gc, 0, 0, rects, 1, YXSorted);        if (!selected) {	XClearArea(dpy, d, rects[0].x, rects[0].y, 		   rects[0].width, rects[0].height,		   False);    	if (pixmap) {	    size = WMGetPixmapSize(pixmap);	    x = rect.pos.x + (rect.size.width - size.width) / 2;	    y = rect.pos.y + (rect.size.height - size.height) / 2;	    	    WMDrawPixmap(pixmap, d, x, y);	}    } else {	XFillRectangles(dpy, d, gc, rects, 1);    	if (pixmap) {	    size = WMGetPixmapSize(pixmap);	    	    x = rect.pos.x + (rect.size.width - size.width) / 2;	    y = rect.pos.y + (rect.size.height - size.height) / 2;	    	    WMDrawPixmap(pixmap, d, x, y);	}    }        XSetClipMask(dpy, gc, None);}