diff --git a/src/app/cosmic.rs b/src/app/cosmic.rs index 52f923e6..8deb160e 100644 --- a/src/app/cosmic.rs +++ b/src/app/cosmic.rs @@ -64,6 +64,8 @@ pub enum Message { /// Capabilities the window manager supports #[cfg(feature = "wayland")] WmCapabilities(window::Id, WindowManagerCapabilities), + /// Notifies that a surface was closed. + /// Any data relating to the surface should be cleaned up. SurfaceClosed(window::Id), /// Activate the application Activate(String),