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

2011-01-13 Thread Piotr Dąbrowski
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

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

2011-01-13 Thread Piotr Dąbrowski
/pointer-grabbing.html). In this case code ungrabs the pointer. Now my question is: should I trust this behavior of X.org? Will it always check the active grab first? Regards, Piotr Dąbrowski ___ xorg@lists.freedesktop.org: X.Org support Archives: http