diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2019-06-27 13:55:34 -0400 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2019-06-27 13:55:34 -0400 |
| commit | 3674013f182ffaf4d65b1aa984049800a6e1ce2d (patch) | |
| tree | 259db63a0caaf17c4c12a42ca0190ecf94ff5da9 /include | |
| parent | 2cc6cab2ce37dd073bae7713464f563768ed0eb3 (diff) | |
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.h | 4 |
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 @@ #include <wlr/types/wlr_data_device.h> #include <wlr/types/wlr_input_method_v2.h> #include <wlr/types/wlr_foreign_toplevel_management_v1.h> +#include <wlr/types/wlr_drm_lease_v1.h> #include <wlr/types/wlr_layer_shell_v1.h> #include <wlr/types/wlr_output_management_v1.h> #include <wlr/types/wlr_output_power_management_v1.h> @@ -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; |
