Submitted by Anonymous on Wed, 06/25/2003 - 01:59.
I want to know if pointer has been grabbed,but i don`t want to grab pointer if it has not been grabbed before detect. It seems XGrabPointer() hasn`t this function.
Thanks in advance.
Questions about motif? Contact us
Submitted by Anonymous on Wed, 06/25/2003 - 01:59.
I want to know if pointer has been grabbed,but i don`t want to grab pointer if it has not been grabbed before detect. It seems XGrabPointer() hasn`t this function.
Thanks in advance.
Thu, 07/03/2003 - 18:25#1
ICS_support
How to detect if pointer has been grabbed
You could grab and watch for an error and then ungrab. Do this synchronously.
But I don`t know of a really good case in which you`d need to know about the pointer`s being grabbed. Perhaps you can work around it.