Mission Control Turbo: macOS multitasking turbocharged
at main 14 lines 367 B view raw
1import AppKit 2 3/// A group of windows belonging to the same application. 4struct WindowGroup: Identifiable { 5 let appBundleID: String 6 let appName: String 7 let appIcon: NSImage? 8 var windows: [WindowInfo] 9 10 var id: String { appBundleID } 11 12 /// The lowest (frontmost) stacking index among this group's windows. 13 var frontmostIndex: Int = Int.max 14}