/* copy area of screen image (pm) to buffer
Clip to a circle */
XSetClipOrigin(dpy, buffer_gc, x,y);
XCopyArea(dpy, pm, buffer, buffer_gc, x, y, s, s, x, y);
/* copy buffer to screen (window) */
/* copy area of screen image (pm) to buffer
Clip to a circle */
XSetClipOrigin(dpy, buffer_gc, x,y);
XCopyArea(dpy, pm, buffer, buffer_gc, x, y, s, s, x, y);
/* copy buffer to screen (window) */