Re: Corrupted XImage retrieved from a Window area

2016-07-31 Thread Thomas Lübking
On Sat, Jul 30, 2016 at 08:34:20AM +, Fabien Lelaquais wrote: Hi all, I'm trying to create an XImage that represents a rectangular portion of a Window (because I need to be able to access the actual pixel values). My experimentations show that if the source window has an hidden region (over

RE: Corrupted XImage retrieved from a Window area

2016-07-31 Thread Fabien Lelaquais
Thanks a lot for your answer. Unfortunately I may not be able to rely of the Composite extension (app would be deployed in environments I don't control). Regarding the XGetImage documentation, that I've read ten times: My drawable (mainWindow) is indeed a viewable window. It has no inferior, and

Re: Corrupted XImage retrieved from a Window area

2016-07-31 Thread The Rasterman
On Sun, 31 Jul 2016 07:51:08 + Fabien Lelaquais said: > Thanks a lot for your answer. > Unfortunately I may not be able to rely of the Composite extension (app would > be deployed in environments I don't control). > > Regarding the XGetImage documentation, that I've read ten times: > My draw

Re: Corrupted XImage retrieved from a Window area

2016-07-31 Thread Thomas Lübking
On Sun, Jul 31, 2016 at 07:51:08AM +, Fabien Lelaquais wrote: Thanks a lot for your answer. Unfortunately I may not be able to rely of the Composite extension (app would be deployed in environments I don't control). Regarding the XGetImage documentation, that I've read ten times: My drawabl