import AppKit /// A group of windows belonging to the same application. struct WindowGroup: Identifiable { let appBundleID: String let appName: String let appIcon: NSImage? var windows: [WindowInfo] var id: String { appBundleID } /// The lowest (frontmost) stacking index among this group's windows. var frontmostIndex: Int = Int.max }