fix: disable standard tab detection for all JetBrains apps
Not just EAPs; those EAPs have been promoted into standard apps. Should fix #716
This commit is contained in:
1 parent
e576ca1298
commit
25343ea177
1 file changed
+1
-1
@@ -26,7 +26,7 @@ class Application: NSObject {
|
|||||||
]
|
]
|
||||||
// workaround: some apps exhibit bugs when we subscribe to its kAXFocusedUIElementChangedNotification
|
// workaround: some apps exhibit bugs when we subscribe to its kAXFocusedUIElementChangedNotification
|
||||||
// we don't know what's happening; we avoid this subscription to make these app usable
|
// we don't know what's happening; we avoid this subscription to make these app usable
|
||||||
if app.bundleIdentifier == "edu.stanford.protege" || app.bundleIdentifier?.range(of: "^com\\.jetbrains\\..+?EAP$", options: .regularExpression) != nil {
|
if app.bundleIdentifier == "edu.stanford.protege" || app.bundleIdentifier?.range(of: "^com\\.jetbrains\\..+?$", options: .regularExpression) != nil {
|
||||||
return n.filter { $0 != kAXFocusedUIElementChangedNotification }
|
return n.filter { $0 != kAXFocusedUIElementChangedNotification }
|
||||||
}
|
}
|
||||||
return n
|
return n
|
||||||
|
|||||||
Reference in new issue
Block a user