Re: reading a window's content with Xlib's XGetImage reveals portions of overlapping windows even with the backing store attribute set to Always

2009-08-20 Thread Peter Harris
Amos Tibaldi wrote: >I am trying to read the content of a portion of a window with the > function XGetImage: > but when I read the pixels in anImage->Data, if there is a window that > overlaps the > region that I read (0, 0, 200, 200), the content of that window is > returned in > "anImage" in

reading a window's content with Xlib's XGetImage reveals portions of overlapping windows even with the backing store attribute set to Always

2009-08-20 Thread Amos Tibaldi
Hello, I am trying to read the content of a portion of a window with the function XGetImage: XImage *XGetImage(*display*, *d*, *x*, *y*, *width*, *height*, *plane_mask*, *format*) Display