XFreePixmap(halftone->dpy, halftone->buffer);
XFreeGC(halftone->dpy, halftone->buffer_gc);
}
halftone->buffer_width = attrs->width;
halftone->buffer_height = attrs->height;
XFreePixmap(halftone->dpy, halftone->buffer);
XFreeGC(halftone->dpy, halftone->buffer_gc);
}
halftone->buffer_width = attrs->width;
halftone->buffer_height = attrs->height;