fix(docs): `window-decoration` is now `none` instead of `false` (#9887)

Heya,
super random but i saw this in the documentation and felt like it should
be fixed 😅
pull/9891/head
Mitchell Hashimoto 2025-12-12 13:08:27 -08:00 committed by GitHub
commit 262b82ab08
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -1329,7 +1329,7 @@ maximize: bool = false,
/// new windows, not just the first one. /// new windows, not just the first one.
/// ///
/// On macOS, this setting does not work if window-decoration is set to /// On macOS, this setting does not work if window-decoration is set to
/// "false", because native fullscreen on macOS requires window decorations /// "none", because native fullscreen on macOS requires window decorations
/// to be set. /// to be set.
fullscreen: bool = false, fullscreen: bool = false,
@ -2825,7 +2825,7 @@ keybind: Keybinds = .{},
/// also known as the traffic lights, that allow you to close, miniaturize, and /// also known as the traffic lights, that allow you to close, miniaturize, and
/// zoom the window. /// zoom the window.
/// ///
/// This setting has no effect when `window-decoration = false` or /// This setting has no effect when `window-decoration = none` or
/// `macos-titlebar-style = hidden`, as the window buttons are always hidden in /// `macos-titlebar-style = hidden`, as the window buttons are always hidden in
/// these modes. /// these modes.
/// ///
@ -2866,7 +2866,7 @@ keybind: Keybinds = .{},
/// macOS 14 does not have this issue and any other macOS version has not /// macOS 14 does not have this issue and any other macOS version has not
/// been tested. /// been tested.
/// ///
/// The "hidden" style hides the titlebar. Unlike `window-decoration = false`, /// The "hidden" style hides the titlebar. Unlike `window-decoration = none`,
/// however, it does not remove the frame from the window or cause it to have /// however, it does not remove the frame from the window or cause it to have
/// squared corners. Changing to or from this option at run-time may affect /// squared corners. Changing to or from this option at run-time may affect
/// existing windows in buggy ways. /// existing windows in buggy ways.
@ -3205,7 +3205,7 @@ else
/// manager's simple titlebar. The behavior of this option will vary with your /// manager's simple titlebar. The behavior of this option will vary with your
/// window manager. /// window manager.
/// ///
/// This option does nothing when `window-decoration` is false or when running /// This option does nothing when `window-decoration` is none or when running
/// under macOS. /// under macOS.
@"gtk-titlebar": bool = true, @"gtk-titlebar": bool = true,