From 8bec01f2370591b5d10213512ceb96af148e022f Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 10 Sep 2023 16:02:09 -0700 Subject: [PATCH] macos: disable hit testing for unfocused split rectangle --- macos/Sources/Ghostty/SurfaceView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/macos/Sources/Ghostty/SurfaceView.swift b/macos/Sources/Ghostty/SurfaceView.swift index b042cea9f..015600392 100644 --- a/macos/Sources/Ghostty/SurfaceView.swift +++ b/macos/Sources/Ghostty/SurfaceView.swift @@ -129,6 +129,7 @@ extension Ghostty { if (isSplit && !surfaceFocus) { Rectangle() .fill(.white) + .allowsHitTesting(false) .opacity(0.15) } }