summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorLibravatar bbb651 <bar.ye651@gmail.com>2024-09-29 16:28:05 +0300
committerLibravatar bbb651 <bar.ye651@gmail.com>2024-09-29 16:28:05 +0300
commitafecc0f367aff12fa353c8158fac3098ffe40136 (patch)
tree0f89a02511e66cbd99a1e8267a0e7d1a13f354e0 /core/src
parent75548373a761d66df364494267c89697dda91fbe (diff)
downloadiced-afecc0f367aff12fa353c8158fac3098ffe40136.tar.gz
iced-afecc0f367aff12fa353c8158fac3098ffe40136.tar.bz2
iced-afecc0f367aff12fa353c8158fac3098ffe40136.zip
Document `File{Dropped,Hovered,HoveredLeft}` as unsupported on wayland
Blocked on https://github.com/rust-windowing/winit/issues/1881
Diffstat (limited to 'core/src')
-rw-r--r--core/src/window/event.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/core/src/window/event.rs b/core/src/window/event.rs
index c9532e0d..4e2751ee 100644
--- a/core/src/window/event.rs
+++ b/core/src/window/event.rs
@@ -46,17 +46,29 @@ pub enum Event {
///
/// When the user hovers multiple files at once, this event will be emitted
/// for each file separately.
+ ///
+ /// ## Platform-specific
+ ///
+ /// - **Wayland:** Not implemented.
FileHovered(PathBuf),
/// A file has been dropped into the window.
///
/// When the user drops multiple files at once, this event will be emitted
/// for each file separately.
+ ///
+ /// ## Platform-specific
+ ///
+ /// - **Wayland:** Not implemented.
FileDropped(PathBuf),
/// A file was hovered, but has exited the window.
///
/// There will be a single `FilesHoveredLeft` event triggered even if
/// multiple files were hovered.
+ ///
+ /// ## Platform-specific
+ ///
+ /// - **Wayland:** Not implemented.
FilesHoveredLeft,
}