<div dir="ltr"><div>I think the difference was probably getting the grab reply. This flushes the request queue at least to the point of the grab, then waits for the grab reply to come back, indicating that the grab has started.</div><div><br></div><div>The grab_reply is a struct return and thus does not need to be freed. This is by design.</div><div><br></div><div>Wish you success as you go on with X11!<br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Mon, Feb 17, 2025 at 3:29 AM Steven J Abner <<a href="mailto:pheonix.sja@att.net">pheonix.sja@att.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, Feb 17 2025 at 01:47:19 AM +0000, Bart Massey <<a href="mailto:bart@cs.pdx.edu" target="_blank">bart@cs.pdx.edu</a>> <br>
wrote:<br>
> I can verify that the version of your code here <br>
> <a href="https://gist.github.com/BartMassey/f4a904cbefc18045b32f39cfcf1b11f6" rel="noreferrer" target="_blank">https://gist.github.com/BartMassey/f4a904cbefc18045b32f39cfcf1b11f6</a><br>
<br>
Thank you! Love the ~0, bloody brilliant, I never even considered.<br>
Can say it works 100% like expected. I did a comparison to the original <br>
change like you first suggested and found the differences of <br>
underscores, and that sweet ~0 idea :).<br>
So I can only assume its gcc once again!<br>
<br>
Only one last parting question, I really don't know as being semi-new <br>
to X, on the grab reply, since it is a 'reply *' type, do I need to <br>
free grab_reply?<br>
<br>
I'll look into the virtual console idea another time.<br>
But thank you, thank Uli, and xcb for the assistance.<br>
The next demo I mention, you can toss. I'm sure now that it's gcc, <br>
given my history with it. I would bet the farm that Xlib and XCB work <br>
as expected.<br>
<br>
Steve<br>
<br>
<br>
</blockquote></div>