displaying an image on a window

Adam Jackson ajax at nwnk.net
Fri Oct 17 07:21:37 PDT 2014


On Thu, 2014-10-16 at 03:56 -0400, Philip Rushik wrote:

> Upon further investigation, I see that the server does actually
> respond with an error message. Specifically a MATCH error, however, it
> claims that the offending ID is the GC, not the window. I create the
> GC with the root window as drawable and a foreground of 0x00aa00ff
> (purple).
> 
> How should a GC be set up for use in put image requests?

I mean, you could always single-step through ProcPutImage to be sure,
but.  I suspect that what's actually going wrong for you is that the
depth of the _image_ doesn't match that of the gc/drawable.

- ajax



More information about the xorg-devel mailing list