<div dir="ltr"><div>You should not need to reinstall xcb: it has been stable for a long time and is unlikely to be the source of a problem.</div><div><br></div><div>You should not need to reboot when the grab is successful. First, you should be able to switch to another virtual console and kill your program from there in the worst case. Second, the way the program is currently written, clicking in the program's main window deletes the dialog window, which ends the grab. (Since the grab is with pointer mode Asynchronous, the grabbing application can continue to process events.)<br><br></div><div>I can verify that the version of your code here <a href="https://gist.github.com/BartMassey/f4a904cbefc18045b32f39cfcf1b11f6">https://gist.github.com/BartMassey/f4a904cbefc18045b32f39cfcf1b11f6</a> compiles and runs cleanly for me, and does grab the pointer when clicked in the dialog window, such that I cannot interact with other applications.</div><div><br></div><div>Good luck!<br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sun, Feb 16, 2025 at 3:09 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 Sun, Feb 16 2025 at 08:31:57 AM +0000, Steven J Abner <br>
<<a href="mailto:pheonix.sja@att.net" target="_blank">pheonix.sja@att.net</a>> wrote:<br>
> xcb_ungrab_pointer() so on running you should have to reboot since <br>
> grab pointer aint letting go :)<br>
<br>
Please let me know your result on the having to reboot. That leads me <br>
to think, if I'm the only one with problem, then maybe I should try a <br>
reinstall of xcb. Maybe a single bit is off on that function for me. <br>
Also found the some of my focus code was unneeded with a working grab, <br>
so is possible that it's hiding a non-working grab. Can also use debug <br>
code and turn on motion reporting to see if events outside of white <br>
window, or huge button :) or being reported.<br>
 Kinda scared to re-install xcb, so please let me know.<br>
Thanks<br>
Steve<br>
<br>
<br>
</blockquote></div>