Skip to content

Properly handle destruction of XdgOutputV1Interface

Vlad Zahorodnii requested to merge work/dont-destroy-xdg-output-resources into master

The xdg-output spec omits whether the compositor has to destroy all xdg- output resources when the associated wl_output global is removed.

This means that no xdg-output resource should be destroyed unless the client has called the destructor request; otherwise the client may panic due to protocol errors.

Starting with Qt 5.15.3, it's okay to destroy generated wrapper objects without destroying associated resources. Destructor requests will be handled behind the scenes for inert and orphaned resources by code that is generated by qtwaylandscanner.

BUG: 426293

Edited by Vlad Zahorodnii

Merge request reports