Remove wlr_cursor_set_xcursor for now

This commit is contained in:
emersion 2017-10-29 18:14:58 +01:00
parent 95566c6bdf
commit 4230a577cc
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
4 changed files with 7 additions and 9 deletions

View file

@ -46,7 +46,6 @@ struct wlr_cursor_state {
struct wl_list devices; // wlr_cursor_device::link
struct wl_list output_cursors; // wlr_cursor_output_cursor::link
struct wlr_output_layout *layout;
struct wlr_xcursor *xcursor;
struct wlr_output *mapped_output;
struct wlr_box *mapped_box;
@ -123,10 +122,6 @@ void wlr_cursor_destroy(struct wlr_cursor *cur) {
free(cur);
}
void wlr_cursor_set_xcursor(struct wlr_cursor *cur, struct wlr_xcursor *xcur) {
cur->state->xcursor = xcur;
}
static struct wlr_cursor_device *get_cursor_device(struct wlr_cursor *cur,
struct wlr_input_device *device) {
struct wlr_cursor_device *c_device, *ret = NULL;