Blender V5.0
GWL_CursorShape Struct Reference

Public Attributes

wp_cursor_shape_device_v1_shape enum_id = WP_CURSOR_SHAPE_DEVICE_V1_SHAPE_DEFAULT
wp_cursor_shape_device_v1 * device = nullptr

Detailed Description

Wayland cursor shape protocol types. Not used if the compositor doesn't support the cursor shape protocol.

Definition at line 440 of file GHOST_SystemWayland.cc.

Member Data Documentation

◆ device

◆ enum_id

wp_cursor_shape_device_v1_shape GWL_CursorShape::enum_id = WP_CURSOR_SHAPE_DEVICE_V1_SHAPE_DEFAULT

The enum_id is currently only used to keep track of the last cursor shape used. This is so we can restore it after hiding the cursor.

Definition at line 445 of file GHOST_SystemWayland.cc.

Referenced by GHOST_SystemWayland::cursor_shape_set(), and gwl_seat_cursor_buffer_show().


The documentation for this struct was generated from the following file: