Skip to content

Add a destructor event to wl_registry

Demi Marie Obenour requested to merge DemiMarie/wayland:registry_destructor into main

This allows destroying wl_registry objects, and is a first step to ensuring all objects can be destroyed.

The real-world use-case for this is more consistent client-side APIs. A natural representation for a Wayland resource is as an object that releases the resource in its destructor, but this is not currently possible for wl_registry.

Merge request reports

Loading