DeviceManager.getClientPointer

Returns the client pointer, that is, the master pointer that acts as the core pointer for this application. In X11, window managers may change this depending on the interaction pattern under the presence of several pointers.

You should use this function seldomly, only in code that isn’t triggered by a #GdkEvent and there aren’t other means to get a meaningful #GdkDevice to operate on.

Return: The client pointer. This memory is owned by GDK and must not be freed or unreferenced.

class DeviceManager
getClientPointer
()

Meta