Advertise output image capture sources
c22e5b9096a7879d4964fc3798adb4d4f76c1e99
Image capture clients need an ext-image-capture source before they can select an output. Register the output source manager alongside the existing capture protocols.
1 parent
bcd34cb3
swm.c
+1 -0
| 5873 | 5873 | /* Advertise the core protocols for windows, buffers, capture, and clipboard data. */ |
|
| 5874 | 5874 | compositor = wlr_compositor_create(dpy, 6, drw); |
|
| 5875 | 5875 | wlr_subcompositor_create(dpy); |
|
| 5876 | 5876 | wlr_data_device_manager_create(dpy); |
|
| 5877 | 5877 | wlr_export_dmabuf_manager_v1_create(dpy); |
|
| 5878 | + | wlr_ext_output_image_capture_source_manager_v1_create(dpy, 1); |
|
| 5878 | 5879 | wlr_screencopy_manager_v1_create(dpy); |
|
| 5879 | 5880 | wlr_data_control_manager_v1_create(dpy); |
|
| 5880 | 5881 | wlr_ext_data_control_manager_v1_create(dpy, 1); |
|
| 5881 | 5882 | wlr_primary_selection_v1_device_manager_create(dpy); |
|
| 5882 | 5883 | wlr_viewporter_create(dpy); |