From 8e3e4650507e16c2818fd45e4d7231efe5553575 Mon Sep 17 00:00:00 2001 From: Rob Parrett Date: Mon, 24 Oct 2022 14:53:18 +0000 Subject: [PATCH] Fix outdated and badly formatted docs for `WindowDescriptor::transparent` (#6329) # Objective See title ## Before / After Screen Shot 2022-10-21 at 10 51 12 AM Screen Shot 2022-10-21 at 10 51 24 AM ## Open questions ~~The old docs previously linked to a winit but that was preventing transparency for working on Windows 11. The recent winit upgrade should have fixed this.~~ ~~I'm unable to test on Windows 11 though, so someone should verify that we no longer need to call this out as being broken.~~ edit: Seems like we're good on Windows 11, thanks. --- crates/bevy_window/src/window.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/crates/bevy_window/src/window.rs b/crates/bevy_window/src/window.rs index 3ebb9311c56ef..4c31937ef1472 100644 --- a/crates/bevy_window/src/window.rs +++ b/crates/bevy_window/src/window.rs @@ -914,10 +914,8 @@ pub struct WindowDescriptor { /// /// ## Platform-specific /// - iOS / Android / Web: Unsupported. - /// - macOS X: Not working as expected. - /// - Windows 11: Not working as expected - /// macOS X transparent works with winit out of the box, so this issue might be related to: - /// Windows 11 is related to + /// - macOS: Not working as expected. See [Bevy #6330](https://github.com/bevyengine/bevy/issues/6330). + /// - Linux (Wayland): Not working as expected. See [Bevy #5779](https://github.com/bevyengine/bevy/issues/5779). pub transparent: bool, /// The "html canvas" element selector. ///