output: Implement drm_lease_v1

Needed for VR to work properly.
This commit is contained in:
Joshua Ashton 2022-03-26 04:51:54 +00:00 committed by Johan Malm
parent b23774e561
commit 57a937bdf2
3 changed files with 43 additions and 0 deletions

View file

@ -39,6 +39,7 @@
#include <wlr/types/wlr_xcursor_manager.h>
#include <wlr/types/wlr_xdg_decoration_v1.h>
#include <wlr/types/wlr_xdg_shell.h>
#include <wlr/types/wlr_drm_lease_v1.h>
#include <wlr/util/log.h>
#if HAVE_XWAYLAND
#include <wlr/xwayland.h>
@ -194,6 +195,9 @@ struct server {
struct wlr_foreign_toplevel_manager_v1 *foreign_toplevel_manager;
struct wlr_drm_lease_v1_manager *drm_lease_manager;
struct wl_listener drm_lease_request;
struct wlr_output_power_manager_v1 *output_power_manager_v1;
struct wl_listener output_power_manager_set_mode;