Implement the drm-lease-v1 protocol

This commit is contained in:
Yuxuan Shui 2026-01-04 20:27:18 +00:00
parent 73bf1c8bd6
commit e68876a853
No known key found for this signature in database
3 changed files with 46 additions and 0 deletions

View file

@ -4,6 +4,8 @@
#include "config.h"
#include <wayland-server-core.h>
#include <wlr/config.h>
#include <wlr/types/wlr_drm_lease_v1.h>
#include <wlr/types/wlr_idle_inhibit_v1.h>
#include <wlr/types/wlr_idle_notify_v1.h>
#include <wlr/types/wlr_output_layout.h>
@ -59,6 +61,11 @@ struct cg_server {
struct wl_listener output_manager_apply;
struct wl_listener output_manager_test;
#if WLR_HAS_DRM_BACKEND
struct wlr_drm_lease_v1_manager *drm_lease_v1;
struct wl_listener drm_lease_request;
#endif
struct wlr_relative_pointer_manager_v1 *relative_pointer_manager;
struct wlr_foreign_toplevel_manager_v1 *foreign_toplevel_manager;