randr: add new interface to allow delaying lease responses

Graphics / X.Org / X.Org Server - Xaver Hugl [gmail.com] - 7 December 2021 10:02 UTC

Add a new interface to _rrScrPriv to make it possible for the server to delay answering a lease request, at the cost of blocking the client. This is needed for implementing drm-lease-v1, as the Wayland protocol has no defined time table for responding to lease requests.

7759743c6 randr: add new interface to allow delaying lease responses
hw/xfree86/common/xf86Module.h | 2 +-
randr/randrstr.h | 12 ++++++++++++
randr/rrlease.c | 27 +++++++++++++++++++++++----
3 files changed, 36 insertions(+), 5 deletions(-)

Upstream: cgit.freedesktop.org


  • Share