From 25343ea1771d69a70788244db3d91fa212d05726 Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Wed, 23 Dec 2020 12:33:41 +0200 Subject: [PATCH] fix: disable standard tab detection for all JetBrains apps Not just EAPs; those EAPs have been promoted into standard apps. Should fix #716 --- src/logic/Application.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logic/Application.swift b/src/logic/Application.swift index 14c49ce8..c391b85d 100644 --- a/src/logic/Application.swift +++ b/src/logic/Application.swift @@ -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