fix: libre-office would freeze with 2 open windows (closes #1508)

This commit is contained in:
Louis Pontoise committed 2022-05-07 18:06:09 +09:00
1 parent 022806bea2
commit 1bb9fd04d8
1 file changed
+1
+1
View File
@@ -31,6 +31,7 @@ class Application: NSObject {
if app.bundleIdentifier == "edu.stanford.protege" ||
app.bundleIdentifier?.range(of: "^com\\.install4j\\..+?$", options: .regularExpression) != nil ||
app.bundleIdentifier?.range(of: "^com\\.live2d\\.cubism\\..+?$", options: .regularExpression) != nil ||
app.bundleIdentifier?.range(of: "^org\\.libreoffice\\..+?$", options: .regularExpression) != nil ||
app.bundleIdentifier?.range(of: "^com\\.(jetbrains\\.|google\\.android\\.studio).*?$", options: .regularExpression) != nil {
return n.filter { $0 != kAXFocusedUIElementChangedNotification }
}