Merge pull request #811 from Timidger/wlr_cursor_data

Added user data field for wlr_cursor
This commit is contained in:
emersion 2018-04-03 15:31:04 -04:00 committed by GitHub
commit b58cb3de40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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