From d89cf6b7206faa480b5e780fb59062794a876941 Mon Sep 17 00:00:00 2001 From: "Devin J. Pohly" Date: Mon, 3 Aug 2020 11:20:12 -0500 Subject: [PATCH] add some more hands-off protocols --- README.md | 1 - dwl.c | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8206a37..3251ccf 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,6 @@ dwl is a work in progress, and it has not yet reached its feature goals in a num - Urgent/attention/focus-request ([not yet supported](https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/9) by xdg-shell protocol) - Statusbar support (built-in or external) - layer-shell -- export-dmabuf - Damage tracking - Fullscreen/fixed windows (or whatever the Wayland analogues are) diff --git a/dwl.c b/dwl.c index 433c4b1..4261fd6 100644 --- a/dwl.c +++ b/dwl.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include @@ -26,6 +27,7 @@ #include #include #include +#include #include #include #include @@ -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. */