Method

GdkDeviceManagerget_client_pointer

Declaration [src]

GdkDevice*
gdk_device_manager_get_client_pointer (
  GdkDeviceManager* device_manager
)

Description [src]

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.

Available since:3.0
Deprecated since:3.20

Use gdk_seat_get_pointer() instead.

Return value

Returns: GdkDevice
 

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

 The data is owned by the instance.