wip: subsurfaces

This commit is contained in:
Ashley Wulber 2024-12-27 16:17:16 -05:00
parent 8a0e74b189
commit 91459591ec
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
7 changed files with 175 additions and 15 deletions

View file

@ -27,6 +27,12 @@ pub mod message {
DbusActivation(super::DbusActivationMessage),
/// Do nothing
None,
#[cfg(feature = "wayland")]
/// Create a subsurface with a view function
Subsurface(
iced_runtime::platform_specific::wayland::subsurface::SctkSubsurfaceSettings,
Option<Box<dyn std::any::Any>>,
),
}
pub const fn app<M>(message: M) -> Message<M> {