Replaced the legacy wlr-screencopy-unstable-v1 with the official
Some checks failed
build / build (push) Has been cancelled

ext-image-copy-capture-v1 and ext-image-capture-source-v1
This commit is contained in:
Keith Bowes 2025-11-14 23:15:37 -05:00
parent fee25b89cd
commit b0cd86a99e
4 changed files with 5 additions and 236 deletions

View file

@ -108,7 +108,8 @@ bool wb_start_server(struct wb_server* server) {
server->gamma_control_set_gamma.notify = handle_gamma_control_set_gamma;
wl_signal_add(&server->gamma_control_manager->events.set_gamma, &server->gamma_control_set_gamma);
wlr_screencopy_manager_v1_create(server->wl_display);
wlr_ext_image_copy_capture_manager_v1_create(server->wl_display, 1);
wlr_ext_output_image_capture_source_manager_v1_create(server->wl_display, 1);
create_idle_manager(server);
wl_list_init(&server->toplevels);