backend/{wayland,x11}: allow custom close handlers
Related: https://github.com/Hjdskes/cage/issues/253
This would be handy for nested compositors to handle user requests to close the window instead of immediately closing it.
Related: https://github.com/Hjdskes/cage/issues/253
This would be handy for nested compositors to handle user requests to close the window instead of immediately closing it.