get_client_pointer


Description:

[ Version ( deprecated = true , deprecated_since = "3.20" , since = "3.0" ) ]
public unowned Device get_client_pointer ()

Warning: get_client_pointer is deprecated since 3.20.

Returns the client pointer, that is, the master pointer that acts as the core pointer for this application.

Note:

Use get_pointer instead.

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 Event and there aren’t other means to get a meaningful Device to operate on.

Parameters:

this

a DeviceManager

Returns:

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