diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-06-27 13:55:34 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-05-12 14:52:42 -0400 |
commit | 23de56175c8666effae80d7ebb9fdcbf205644cb (patch) | |
tree | c18d0d8b355d84a27f686cbbe69c5ba3601ead44 /include/sway/server.h | |
parent | Simplify repaint scheduling documentation (diff) | |
download | sway-23de56175c8666effae80d7ebb9fdcbf205644cb.tar.gz sway-23de56175c8666effae80d7ebb9fdcbf205644cb.tar.zst sway-23de56175c8666effae80d7ebb9fdcbf205644cb.zip |
Implement DRM leasing for non-desktop outputsdrm-lease
This prevents sway from extending the desktop to i.e. VR headsets, and
makes them available for DRM leasing.
Diffstat (limited to 'include/sway/server.h')
-rw-r--r-- | include/sway/server.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ | |||
8 | #include <wlr/types/wlr_compositor.h> | 8 | #include <wlr/types/wlr_compositor.h> |
9 | #include <wlr/types/wlr_data_device.h> | 9 | #include <wlr/types/wlr_data_device.h> |
10 | #include <wlr/types/wlr_input_method_v2.h> | 10 | #include <wlr/types/wlr_input_method_v2.h> |
11 | #include <wlr/types/wlr_drm_lease_v1.h> | ||
11 | #include <wlr/types/wlr_layer_shell_v1.h> | 12 | #include <wlr/types/wlr_layer_shell_v1.h> |
12 | #include <wlr/types/wlr_output_management_v1.h> | 13 | #include <wlr/types/wlr_output_management_v1.h> |
13 | #include <wlr/types/wlr_output_power_management_v1.h> | 14 | #include <wlr/types/wlr_output_power_management_v1.h> |
@@ -69,6 +70,9 @@ struct sway_server { | |||
69 | struct wl_listener xdg_decoration; | 70 | struct wl_listener xdg_decoration; |
70 | struct wl_list xdg_decorations; // sway_xdg_decoration::link | 71 | struct wl_list xdg_decorations; // sway_xdg_decoration::link |
71 | 72 | ||
73 | struct wlr_drm_lease_manager_v1 *drm_lease_manager; | ||
74 | struct wl_listener drm_lease_requested; | ||
75 | |||
72 | struct wlr_presentation *presentation; | 76 | struct wlr_presentation *presentation; |
73 | 77 | ||
74 | struct wlr_pointer_constraints_v1 *pointer_constraints; | 78 | struct wlr_pointer_constraints_v1 *pointer_constraints; |