<div dir="ltr"><div class="gmail_quote">On Oct 17, 2014 10:21 AM, "Adam Jackson" <<a href="mailto:ajax@nwnk.net" target="_blank">ajax@nwnk.net</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, 2014-10-16 at 03:56 -0400, Philip Rushik wrote:<br>
<br>
> Upon further investigation, I see that the server does actually<br>
> respond with an error message. Specifically a MATCH error, however, it<br>
> claims that the offending ID is the GC, not the window. I create the<br>
> GC with the root window as drawable and a foreground of 0x00aa00ff<br>
> (purple).<br>
><br>
> How should a GC be set up for use in put image requests?<br>
<br>
I mean, you could always single-step through ProcPutImage to be sure,<br>
but. I suspect that what's actually going wrong for you is that the<br>
depth of the _image_ doesn't match that of the gc/drawable.<br>
<br>
- ajax<br>
<br></blockquote><div><br></div><div>Yes, you were correct, I had set the depth to one that didn't match the GC. Totally my fault. I can now display images correctly. Thank you.<br></div></div>
</div>