Fix documentation of window::Event::Opened

This commit is contained in:
Héctor Ramón Jiménez 2025-01-06 20:10:44 +01:00
parent a0acaba866
commit bfab1a32d1
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -9,8 +9,8 @@ pub enum Event {
/// A window was opened.
Opened {
/// The position of the opened window. This is relative to the top-left corner of the desktop
/// the window is on, including virtual desktops. Refers to window's "inner" position,
/// or the client area, in logical pixels.
/// the window is on, including virtual desktops. Refers to window's "outer" position,
/// or the window area, in logical pixels.
///
/// **Note**: Not available in Wayland.
position: Option<Point>,