Screen grab underneath a window



Hi,

Im trying to grab an image of the desktop including other windows as would appear underneath my newly created window, a kind of pseudo-transparent window. Im not aiming for a transparent window, i actually want the image data. I also want to be able to re-capture the image after moving or resizing the window. The obvious problem here is that when i grab the image using gdk_pixbuf_get_from_drawable and using the root window for the source, my top level window is in the way.

Any suggestions?

The best ive come up with is some kind of unmapping the window, capture the image, then remap the window, but this messes with my expose event, and really isn't very nice.

thanks for any help
~Colin.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]