mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-05-26 14:58:35 +00:00
fix: disable renderer background when macOS effects are enabled
This commit is contained in:
committed by
Mitchell Hashimoto
parent
d40af61960
commit
45aceace72
@@ -3111,22 +3111,13 @@ keybind: Keybinds = .{},
|
||||
///
|
||||
/// Valid values are:
|
||||
///
|
||||
/// * `blur` - Uses the standard background behavior. The `background-blur`
|
||||
/// * `default` - Uses the standard background behavior. The `background-blur`
|
||||
/// configuration will control whether blur is applied (available on all macOS versions)
|
||||
/// * `regular-glass` - Standard glass effect with some opacity (macOS 26.0+ only)
|
||||
/// * `clear-glass` - Highly transparent glass effect (macOS 26.0+ only)
|
||||
///
|
||||
/// The `blur` option does not force any blur effect - it simply respects the
|
||||
/// `background-blur` configuration. The glass options override `background-blur`
|
||||
/// and apply their own visual effects.
|
||||
///
|
||||
/// On macOS versions prior to 26.0, only `blur` has an effect. The glass
|
||||
/// options will fall back to `blur` behavior on older versions.
|
||||
///
|
||||
/// The default value is `blur`.
|
||||
///
|
||||
/// Available since: 1.2.2
|
||||
@"macos-background-style": MacBackgroundStyle = .blur,
|
||||
@"macos-background-style": MacBackgroundStyle = .default,
|
||||
|
||||
/// Put every surface (tab, split, window) into a dedicated Linux cgroup.
|
||||
///
|
||||
@@ -7714,7 +7705,7 @@ pub const MacShortcuts = enum {
|
||||
|
||||
/// See macos-background-style
|
||||
pub const MacBackgroundStyle = enum {
|
||||
blur,
|
||||
default,
|
||||
@"regular-glass",
|
||||
@"clear-glass",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user