pop up windows

Alan Coopersmith alan.coopersmith at oracle.com
Mon Feb 17 17:47:44 UTC 2025


On 2/16/25 17:47, Bart Massey wrote:
> 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.

You can also enable hotkeys to end grabs, or in the worst case, kill the X
server, without having to reboot the whole OS.

https://www.x.org/releases/X11R7.7/doc/xorg-docs/ReleaseNotes.html describes
these in the "Terminate Server keystroke" and "Grab debugging keystrokes"
sections.

These are handy for debugging but off by default because they break security
(for instance, letting you break through a screen lock), as explained at:
https://who-t.blogspot.com/2012/01/xkb-breaking-grabs-cve-2012-0064.html

While you're there, you may also want to read:
https://who-t.blogspot.com/2010/11/high-level-overview-of-grabs.html
and his other posts on grabs and input handling in X.

-- 
         -Alan Coopersmith-                 alan.coopersmith at oracle.com
          Oracle Solaris Engineering - https://blogs.oracle.com/solaris


More information about the Xcb mailing list