Testing the pointer for being already grabbed without calling XGrabPointer()?

Piotr Dąbrowski ultr at ultr.pl
Thu Jan 13 07:31:41 PST 2011


Hello,


Is there a way of testing the pointer for being already grabbed?

I know I can call XGrabPointer(), check the result and then
XUngrabPointer() if necessary.
But this generates EnterNotify and LeaveNotify events which I don't want.

Are there any other solutions?



Regards,
Piotr Dąbrowski



More information about the xorg mailing list