Skip to content

Commit

Permalink
fix: disable standard tab detection for all JetBrains apps, not just …
Browse files Browse the repository at this point in the history
…EAPs

Should fix #716
  • Loading branch information
akx committed Dec 23, 2020
1 parent b8ad95c commit 823c3cc
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 823c3cc

Please sign in to comment.