ext-image-capture-source-v1: add source pointer cursors

This commit is contained in:
Simon Ser 2024-04-08 19:59:44 +02:00
parent dadcbf65e6
commit 6712e774d4
3 changed files with 38 additions and 0 deletions

View file

@ -69,3 +69,14 @@ bool wlr_ext_image_capture_source_v1_create_resource(struct wlr_ext_image_captur
}
return true;
}
void wlr_ext_image_capture_source_v1_cursor_init(struct wlr_ext_image_capture_source_v1_cursor *source_cursor,
const struct wlr_ext_image_capture_source_v1_interface *impl) {
*source_cursor = (struct wlr_ext_image_capture_source_v1_cursor){0};
wlr_ext_image_capture_source_v1_init(&source_cursor->base, impl);
wl_signal_init(&source_cursor->events.update);
}
void wlr_ext_image_capture_source_v1_cursor_finish(struct wlr_ext_image_capture_source_v1_cursor *source_cursor) {
wlr_ext_image_capture_source_v1_finish(&source_cursor->base);
}