diff --git a/include/wlr/interfaces/wlr_output.h b/include/wlr/interfaces/wlr_output.h index c554c4af0..22112a254 100644 --- a/include/wlr/interfaces/wlr_output.h +++ b/include/wlr/interfaces/wlr_output.h @@ -19,10 +19,6 @@ struct wlr_output_impl { bool (*set_mode)(struct wlr_output *output, struct wlr_output_mode *mode); bool (*set_custom_mode)(struct wlr_output *output, int32_t width, int32_t height, int32_t refresh); - bool (*set_cursor)(struct wlr_output *output, struct wlr_texture *texture, - int32_t scale, enum wl_output_transform transform, - int32_t hotspot_x, int32_t hotspot_y, bool update_texture); - bool (*move_cursor)(struct wlr_output *output, int x, int y); void (*destroy)(struct wlr_output *output); bool (*attach_render)(struct wlr_output *output, int *buffer_age); bool (*cursor_try_set_size)(struct wlr_output *output, int *x, int *y); diff --git a/types/wlr_output.c b/types/wlr_output.c index 183646537..68d4e19b6 100644 --- a/types/wlr_output.c +++ b/types/wlr_output.c @@ -302,9 +302,6 @@ static void handle_display_destroy(struct wl_listener *listener, void *data) { void wlr_output_init(struct wlr_output *output, struct wlr_backend *backend, const struct wlr_output_impl *impl, struct wl_display *display) { assert(impl->attach_render && impl->commit); - if (impl->set_cursor || impl->move_cursor) { - assert(impl->set_cursor && impl->move_cursor); - } output->backend = backend; output->impl = impl; output->display = display;