diff options
| author | Devin J. Pohly <djpohly@gmail.com> | 2020-08-03 11:20:12 -0500 | 
|---|---|---|
| committer | Devin J. Pohly <djpohly@gmail.com> | 2020-08-03 11:20:12 -0500 | 
| commit | d89cf6b7206faa480b5e780fb59062794a876941 (patch) | |
| tree | 70f746ec3847f8118141828a37b3fb5d74c9ed9d /dwl.c | |
| parent | 0ac2f6616a5f0f3ab10b53dcf294862d87116421 (diff) | |
add some more hands-off protocols
Diffstat (limited to 'dwl.c')
| -rw-r--r-- | dwl.c | 4 | 
1 files changed, 4 insertions, 0 deletions
| @@ -16,6 +16,7 @@  #include <wlr/types/wlr_compositor.h>  #include <wlr/types/wlr_cursor.h>  #include <wlr/types/wlr_data_device.h> +#include <wlr/types/wlr_export_dmabuf_v1.h>  #include <wlr/types/wlr_input_device.h>  #include <wlr/types/wlr_keyboard.h>  #include <wlr/types/wlr_matrix.h> @@ -26,6 +27,7 @@  #include <wlr/types/wlr_primary_selection_v1.h>  #include <wlr/types/wlr_screencopy_v1.h>  #include <wlr/types/wlr_seat.h> +#include <wlr/types/wlr_viewporter.h>  #include <wlr/types/wlr_xcursor_manager.h>  #include <wlr/types/wlr_xdg_decoration_v1.h>  #include <wlr/types/wlr_xdg_output_v1.h> @@ -1485,9 +1487,11 @@ setup(void)  	 * the clients cannot set the selection directly without compositor approval,  	 * see the setsel() function. */  	compositor = wlr_compositor_create(dpy, drw); +	wlr_export_dmabuf_manager_v1_create(dpy);  	wlr_screencopy_manager_v1_create(dpy);  	wlr_data_device_manager_create(dpy);  	wlr_primary_selection_v1_device_manager_create(dpy); +	wlr_viewporter_create(dpy);  	/* Creates an output layout, which a wlroots utility for working with an  	 * arrangement of screens in a physical layout. */ | 
