mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
macos: restore 0 blur-radius when reloading config
This commit is contained in:
@ -1891,9 +1891,6 @@ pub const CAPI = struct {
|
|||||||
// Do nothing if we don't have background transparency enabled
|
// Do nothing if we don't have background transparency enabled
|
||||||
if (config.@"background-opacity" >= 1.0) return;
|
if (config.@"background-opacity" >= 1.0) return;
|
||||||
|
|
||||||
// Do nothing if our blur value is zero
|
|
||||||
if (config.@"background-blur-radius" == 0) return;
|
|
||||||
|
|
||||||
const nswindow = objc.Object.fromId(window);
|
const nswindow = objc.Object.fromId(window);
|
||||||
_ = CGSSetWindowBackgroundBlurRadius(
|
_ = CGSSetWindowBackgroundBlurRadius(
|
||||||
CGSDefaultConnectionForThread(),
|
CGSDefaultConnectionForThread(),
|
||||||
|
Reference in New Issue
Block a user