From 920ab9f108488e973612fa9533bbef388fc6632d Mon Sep 17 00:00:00 2001 From: Timidger Date: Tue, 3 Apr 2018 15:23:37 -0400 Subject: [PATCH] Added user data field for wlr_cursor This is required for wlroots-rs. --- include/wlr/types/wlr_cursor.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wlr/types/wlr_cursor.h b/include/wlr/types/wlr_cursor.h index 0883f3ca..b764e6d2 100644 --- a/include/wlr/types/wlr_cursor.h +++ b/include/wlr/types/wlr_cursor.h @@ -54,6 +54,8 @@ struct wlr_cursor { struct wl_signal tablet_tool_tip; struct wl_signal tablet_tool_button; } events; + + void *data; }; struct wlr_cursor *wlr_cursor_create();