Skip to content

Support gtk-shell surface release destructor

Currently the "destroy" destructor of a gtk-shell surface does not signal its destruction to the server, causing the server-side resources to be allocated until client disconnect. To fix this add a new "release" destructor that does this and use it depending on the server's gtk-shell version.

This depends on mutter!1307 (merged).

This is the gtk3 version of the patch, I will open a MR for gtk4 once the situation with gtk-shell 3 has been figured out there, since it currently is at gtk-shell 2 and this patch bumps the supported version to 4.

Merge request reports