diff --git a/src/event.rs b/src/event.rs index f36cb3fb70e..c9bfdf46ef0 100644 --- a/src/event.rs +++ b/src/event.rs @@ -372,6 +372,8 @@ pub enum WindowEvent<'a> { /// Applications might wish to react to this to change the theme of the content of the window /// when the system changes the window theme. /// + /// ## Platform-specific + /// /// At the moment this is only supported on Windows. ThemeChanged(Theme), } diff --git a/src/platform/run_return.rs b/src/platform/run_return.rs index 5c254615409..5013823bc11 100644 --- a/src/platform/run_return.rs +++ b/src/platform/run_return.rs @@ -37,7 +37,7 @@ pub trait EventLoopExtRunReturn { /// /// ## Platform-specific /// - /// - **Unix-alikes** (**X11** or **Wayland**): This function returns `1` upon disconnection from + /// - **X11 / Wayland:** This function returns `1` upon disconnection from /// the display server. fn run_return(&mut self, event_handler: F) -> i32 where diff --git a/src/window.rs b/src/window.rs index bb78df60e42..84644cd22ed 100644 --- a/src/window.rs +++ b/src/window.rs @@ -650,10 +650,7 @@ impl Window { /// /// This only has an effect on desktop platforms. /// - /// Due to a bug in XFCE, this has no effect on Xfwm. - /// - /// ## Platform-specific - /// + /// - **X11:** Due to a bug in XFCE, this has no effect on Xfwm. /// - **iOS / Android / Web:** Unsupported. /// /// [`WindowEvent::Resized`]: crate::event::WindowEvent::Resized