Re: gdk_pixbuf_get_from_drawable for screenshots?



Michael Rothwell <rothwell holly-springs nc us> writes:
Worked like a charm. Thanks! 

Is there any way with X to get what would be visible under a window?


No, that information literally doesn't exist - it gets thrown
out/overwritten. (Be glad, otherwise your X server would use a lot
more memory and be extra-slow...)

This is why apps have to handle expose events.

Havoc




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