From afecc0f367aff12fa353c8158fac3098ffe40136 Mon Sep 17 00:00:00 2001 From: bbb651 Date: Sun, 29 Sep 2024 16:28:05 +0300 Subject: Document `File{Dropped,Hovered,HoveredLeft}` as unsupported on wayland Blocked on https://github.com/rust-windowing/winit/issues/1881 --- core/src/window/event.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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, } -- cgit