Skip to content

Commit

Permalink
fix: disable standard tab detection for all JetBrains apps
Browse files Browse the repository at this point in the history
Not just EAPs; those EAPs have been promoted into standard apps.

Should fix #716
  • Loading branch information
akx authored and lwouis committed Jan 25, 2021
1 parent e576ca1 commit 25343ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logic/Application.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Application: NSObject {
]
// 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
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
Expand Down

0 comments on commit 25343ea

Please sign in to comment.