aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Simon Zeni <simon@bl4ckb0ne.ca>2019-06-27 13:55:34 -0400
committerLibravatar Simon Ser <contact@emersion.fr>2021-09-09 15:25:19 +0200
commit30c28ff8f774546c6e930ed3acf717434df55371 (patch)
tree259db63a0caaf17c4c12a42ca0190ecf94ff5da9 /include
parentview: fix child position calc (diff)
downloadsway-30c28ff8f774546c6e930ed3acf717434df55371.tar.gz
sway-30c28ff8f774546c6e930ed3acf717434df55371.tar.zst
sway-30c28ff8f774546c6e930ed3acf717434df55371.zip
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.
Diffstat (limited to 'include')
-rw-r--r--include/sway/server.h4
1 files changed, 4 insertions, 0 deletions
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 @@
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_foreign_toplevel_management_v1.h> 11#include <wlr/types/wlr_foreign_toplevel_management_v1.h>
12#include <wlr/types/wlr_drm_lease_v1.h>
12#include <wlr/types/wlr_layer_shell_v1.h> 13#include <wlr/types/wlr_layer_shell_v1.h>
13#include <wlr/types/wlr_output_management_v1.h> 14#include <wlr/types/wlr_output_management_v1.h>
14#include <wlr/types/wlr_output_power_management_v1.h> 15#include <wlr/types/wlr_output_power_management_v1.h>
@@ -72,6 +73,9 @@ struct sway_server {
72 struct wl_listener xdg_decoration; 73 struct wl_listener xdg_decoration;
73 struct wl_list xdg_decorations; // sway_xdg_decoration::link 74 struct wl_list xdg_decorations; // sway_xdg_decoration::link
74 75
76 struct wlr_drm_lease_v1_manager *drm_lease_manager;
77 struct wl_listener drm_lease_request;
78
75 struct wlr_presentation *presentation; 79 struct wlr_presentation *presentation;
76 80
77 struct wlr_pointer_constraints_v1 *pointer_constraints; 81 struct wlr_pointer_constraints_v1 *pointer_constraints;