From 045dca649a6d5f820670c1d0423c35c7e89e7ee6 Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Tue, 6 Feb 2024 11:22:40 -0500 Subject: [PATCH] chore: add doc comment to SurfaceClosed --- src/app/cosmic.rs | 2 ++ 1 file changed, 2 insertions(+) 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),