pop up windows

Bart Massey bart at cs.pdx.edu
Mon Feb 17 01:47:19 UTC 2025


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.

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.)

I can verify that the version of your code here
https://gist.github.com/BartMassey/f4a904cbefc18045b32f39cfcf1b11f6
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.

Good luck!

On Sun, Feb 16, 2025 at 3:09 AM Steven J Abner <pheonix.sja at att.net> wrote:

> On Sun, Feb 16 2025 at 08:31:57 AM +0000, Steven J Abner
> <pheonix.sja at att.net> wrote:
> > xcb_ungrab_pointer() so on running you should have to reboot since
> > grab pointer aint letting go :)
>
> Please let me know your result on the having to reboot. That leads me
> to think, if I'm the only one with problem, then maybe I should try a
> reinstall of xcb. Maybe a single bit is off on that function for me.
> Also found the some of my focus code was unneeded with a working grab,
> so is possible that it's hiding a non-working grab. Can also use debug
> code and turn on motion reporting to see if events outside of white
> window, or huge button :) or being reported.
>  Kinda scared to re-install xcb, so please let me know.
> Thanks
> Steve
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/xcb/attachments/20250216/604d79cb/attachment.htm>


More information about the Xcb mailing list