mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
cursor-shape-v1: expose tablet tool in event
This allows compositors which use a separate cursor per tablet tool to support setting tablet tool cursors individually using this protocol.
This commit is contained in:
parent
31c842e5ec
commit
22178451f7
2 changed files with 35 additions and 4 deletions
|
|
@ -41,6 +41,8 @@ enum wlr_cursor_shape_manager_v1_device_type {
|
|||
struct wlr_cursor_shape_manager_v1_request_set_shape_event {
|
||||
struct wlr_seat_client *seat_client;
|
||||
enum wlr_cursor_shape_manager_v1_device_type device_type;
|
||||
// NULL if device_type is not TABLET_TOOL
|
||||
struct wlr_tablet_v2_tablet_tool *tablet_tool;
|
||||
uint32_t serial;
|
||||
enum wp_cursor_shape_device_v1_shape shape;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue