                 return kAXWindowMovedNotification
             case .windowResized:
                 return kAXWindowResizedNotification
+            case .mainWindowChanged:
+                return kAXMainWindowChangedNotification
             }
         }
     }

    public private(set) var lastReflowTime: Date

    private let disposeBag = DisposeBag()

    init(userConfiguration: UserConfiguration) {
        self.userConfiguration = userConfiguration

            guard let window = element as? SIWindow else {
                return
            }
            windowManager.swapInTab(window: window)
        case .windowDeminiaturized:
            guard let window = element as? SIWindow else {
                return
