Skip to content

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() -> None

Destroy the manager

Destroy the cursor shape manager.

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:

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: