Re: A problem about reading the source code

Alan Coopersmith <[email protected]> Wed, 3 Jan 2024 09:44:15 -0800
Newsgroups gmane.comp.freedesktop.xcb
Message-ID <[email protected]>
On 1/2/24 23:56, Uli Schlachter wrote:
> Sadly, I have no good suggestion on what to do about this random grab or 
> how to figure out which program grabbed the mouse.

Xorg allows defining a hotkey to log current grabs to the log file - you
can trigger it via the command line with:
	xdotool key "XF86LogGrabInfo"

Google finds some pages with additional tips on using it, such as:
https://thesynack.com/posts/hotkeys-grabbed/
https://unix.stackexchange.com/questions/23164/manipulating-x-key-and-pointer-grabs-on-the-command-line
https://gitlab.freedesktop.org/xorg/xserver/-/commit/7d2543a3cb3089241982ce4f8984fd723d5312a1

-- 
         -Alan Coopersmith-                 [email protected]
          Oracle Solaris Engineering - https://blogs.oracle.com/solaris