|
|
@ -218,8 +218,10 @@ void wlr_drm_lease_v1_revoke(struct wlr_drm_lease_v1 *lease) {
|
|
|
|
|
|
|
|
|
|
|
|
static void drm_lease_v1_handle_resource_destroy(struct wl_resource *resource) {
|
|
|
|
static void drm_lease_v1_handle_resource_destroy(struct wl_resource *resource) {
|
|
|
|
struct wlr_drm_lease_v1 *lease = drm_lease_v1_from_resource(resource);
|
|
|
|
struct wlr_drm_lease_v1 *lease = drm_lease_v1_from_resource(resource);
|
|
|
|
|
|
|
|
if (lease != NULL) {
|
|
|
|
wlr_drm_lease_terminate(lease->drm_lease);
|
|
|
|
wlr_drm_lease_terminate(lease->drm_lease);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static void drm_lease_v1_handle_destroy(
|
|
|
|
static void drm_lease_v1_handle_destroy(
|
|
|
|
struct wl_client *client, struct wl_resource *resource) {
|
|
|
|
struct wl_client *client, struct wl_resource *resource) {
|
|
|
|