From 30c28ff8f774546c6e930ed3acf717434df55371 Mon Sep 17 00:00:00 2001 From: Simon Zeni Date: Thu, 27 Jun 2019 13:55:34 -0400 Subject: introduce wlr_drm_lease_v1 This prevents sway from extending the desktop to i.e. VR headsets, and makes them available for DRM leasing. Non-desktop wlr_outputs will be offered through the wlr_drm_lease_v1_manager interface for client to lease. --- include/sway/server.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/sway/server.h b/include/sway/server.h index 3a5670d9..f3522a49 100644 --- a/include/sway/server.h +++ b/include/sway/server.h @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include @@ -72,6 +73,9 @@ struct sway_server { struct wl_listener xdg_decoration; struct wl_list xdg_decorations; // sway_xdg_decoration::link + struct wlr_drm_lease_v1_manager *drm_lease_manager; + struct wl_listener drm_lease_request; + struct wlr_presentation *presentation; struct wlr_pointer_constraints_v1 *pointer_constraints; -- cgit v1.2.3