Remove obsolete docs about wayland CSD env variable

The env variable was removed a while ago, yet it was still present in
the user docs.
This commit is contained in:
Kirill Chibisov 2023-10-10 09:23:37 +04:00 committed by GitHub
parent fac6110cb6
commit 789a497980
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -406,8 +406,8 @@ impl WindowBuilder {
/// ## Platform-specific
///
/// - **macOS:** This is an app-wide setting.
/// - **Wayland:** This control only CSD. You can also use `WINIT_WAYLAND_CSD_THEME` env variable to set the theme.
/// Possible values for env variable are: "dark" and "light".
/// - **Wayland:** This controls only CSD. When using `None` it'll try to use dbus to get the
/// system preference. When explicit theme is used, this will avoid dbus all together.
/// - **x11:** Build window with `_GTK_THEME_VARIANT` hint set to `dark` or `light`.
/// - **iOS / Android / Web / x11 / Orbital:** Ignored.
#[inline]
@ -1270,8 +1270,8 @@ impl Window {
/// ## Platform-specific
///
/// - **macOS:** This is an app-wide setting.
/// - **Wayland:** You can also use `WINIT_WAYLAND_CSD_THEME` env variable to set the theme.
/// Possible values for env variable are: "dark" and "light". When unspecified, a theme is automatically selected.
/// - **Wayland:** Sets the theme for the client side decorations. Using `None` will use dbus
/// to get the system preference.
/// - **X11:** Sets `_GTK_THEME_VARIANT` hint to `dark` or `light` and if `None` is used, it will default to [`Theme::Dark`].
/// - **iOS / Android / Web / Orbital:** Unsupported.
#[inline]