Added user data field for wlr_cursor

This is required for wlroots-rs.
This commit is contained in:
Timidger 2018-04-03 15:23:37 -04:00
parent 31c6ce13cd
commit 920ab9f108
No known key found for this signature in database
GPG Key ID: 42EF7ECE5FEF1D17
1 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,8 @@ struct wlr_cursor {
struct wl_signal tablet_tool_tip; struct wl_signal tablet_tool_tip;
struct wl_signal tablet_tool_button; struct wl_signal tablet_tool_button;
} events; } events;
void *data;
}; };
struct wlr_cursor *wlr_cursor_create(); struct wlr_cursor *wlr_cursor_create();