wp_cursor_shape_manager_v1¤
wayland.wp_cursor_shape_manager_v1 ¤
Cursor shape manager
This global offers an alternative, optional way to set cursor images. This new way uses enumerated cursors instead of a wl_surface like wl_pointer.set_cursor does.
Warning! The protocol described in this file is currently in the testing phase. Backward compatible changes may be added together with the corresponding interface version bump. Backward incompatible changes can only be done by creating a new major version of the extension.
Methods:
-
destroy
–Destroy the manager
-
get_pointer
–Manage the cursor shape of a pointer device
-
get_tablet_tool_v2
–Manage the cursor shape of a tablet tool device
get_pointer ¤
get_pointer(pointer: wl_pointer) -> wp_cursor_shape_device_v1
Manage the cursor shape of a pointer device
Obtain a wp_cursor_shape_device_v1 for a wl_pointer object.
When the pointer capability is removed from the wl_seat, the wp_cursor_shape_device_v1 object becomes inert.
Returns:
-
wp_cursor_shape_device_v1
(wp_cursor_shape_device_v1
) –The created object
get_tablet_tool_v2 ¤
get_tablet_tool_v2(tablet_tool: zwp_tablet_tool_v2) -> wp_cursor_shape_device_v1
Manage the cursor shape of a tablet tool device
Obtain a wp_cursor_shape_device_v1 for a zwp_tablet_tool_v2 object.
When the zwp_tablet_tool_v2 is removed, the wp_cursor_shape_device_v1 object becomes inert.
Returns:
-
wp_cursor_shape_device_v1
(wp_cursor_shape_device_v1
) –The created object