From bedb145ee1413482763707fe73787b622cb52cbf Mon Sep 17 00:00:00 2001
From: Ariver <shanghai3168@gmail.com>
Date: Sat, 13 Jun 2026 16:08:40 +0800
Subject: [PATCH] Fix Finder tab space activation

---
 C1.source/Sources/Aligner/Diagnostics/Round1SnapshotDump.swift |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/C1.source/Sources/Aligner/Diagnostics/Round1SnapshotDump.swift b/C1.source/Sources/Aligner/Diagnostics/Round1SnapshotDump.swift
index bb70050..c8e3b03 100644
--- a/C1.source/Sources/Aligner/Diagnostics/Round1SnapshotDump.swift
+++ b/C1.source/Sources/Aligner/Diagnostics/Round1SnapshotDump.swift
@@ -89,6 +89,7 @@
             "isMinimized": window.isMinimized,
             "isFullscreen": window.isFullscreen,
             "isGhost": window.isGhost,
+            "frame": frameDictionary(window.frame) as Any,
             "spaceIDs": window.spaceIDs,
             "app": appDictionary(window.app)
         ] as [String: Any]
@@ -98,6 +99,17 @@
         return result
     }
 
+    private static func frameDictionary(_ frame: CGRect?) -> Any {
+        guard let frame else { return NSNull() }
+
+        return [
+            "x": frame.origin.x,
+            "y": frame.origin.y,
+            "width": frame.size.width,
+            "height": frame.size.height
+        ]
+    }
+
     private static func appDictionary(_ app: AlignerApp) -> [String: Any] {
         let pathSummary = DevelopmentDiagnostics.pathSummary(app.executablePath)
         var result = [

--
Gitblit v1.9.3