From 23de56175c8666effae80d7ebb9fdcbf205644cb Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 27 Jun 2019 13:55:34 -0400 Subject: Implement DRM leasing for non-desktop outputs This prevents sway from extending the desktop to i.e. VR headsets, and makes them available for DRM leasing. --- include/sway/server.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/sway/server.h') diff --git a/include/sway/server.h b/include/sway/server.h index 3c972bc5..e26571e9 100644 --- a/include/sway/server.h +++ b/include/sway/server.h @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include @@ -69,6 +70,9 @@ struct sway_server { struct wl_listener xdg_decoration; struct wl_list xdg_decorations; // sway_xdg_decoration::link + struct wlr_drm_lease_manager_v1 *drm_lease_manager; + struct wl_listener drm_lease_requested; + struct wlr_presentation *presentation; struct wlr_pointer_constraints_v1 *pointer_constraints; -- cgit v1.2.3-54-g00ecf