iced-yoda/winit/src/platform_specific/wayland/commands/overlap_notify.rs
2026-01-23 11:25:32 -05:00

14 lines
431 B
Rust

use iced_futures::core::window::Id;
use iced_runtime::{
platform_specific::{self, wayland},
task, Action, Task,
};
/// Request subscription for overlap notification events on the surface
pub fn overlap_notify<Message>(id: Id, enable: bool) -> Task<Message> {
task::effect(Action::PlatformSpecific(
platform_specific::Action::Wayland(wayland::Action::OverlapNotify(
id, enable,
)),
))
}