chore: add doc comment to SurfaceClosed

This commit is contained in:
Ashley Wulber 2024-02-06 11:22:40 -05:00 committed by Ashley Wulber
parent ff0d49672e
commit 045dca649a

View file

@ -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),