requested to merge kennylevinsen/wayland-protocols:popup-unordered-destroy into main
Calling destroy on any popup other than the topmost popup associated with the given toplevel is currently a protocol error. As younger popups stack on top of older popups, this means that an older popup cannot be destroyed before a younger one.
This requirements conflicts with legitimate use-cases, such as having an older tooltip disappear after a newer tooltip has opened, or dismissing a context menu after a popup-based notification has appeared.
Relax the destroy requirements to allow out-of-order popup destruction.
Signed-off-by: Kenny Levinsen firstname.lastname@example.org