fix: display firefox develop edition fullscreen windows (closes #558)

This commit is contained in:
Louis Pontoise authored and lwouis committed 2020-08-27 22:44:40 +09:00
1 parent 20e9d1579d
commit 3250d37557
1 file changed
+1 -1
+1 -1
View File
@@ -102,7 +102,7 @@ extension AXUIElement {
private func firefoxFullscreenVideo(_ runningApp: NSRunningApplication, _ role: String?) -> Bool {
// Firefox fullscreen video have subrole == AXUnknown if fullscreen'ed when the base window is not fullscreen
return runningApp.bundleIdentifier == "org.mozilla.firefox" && role == "AXWindow"
return (runningApp.bundleIdentifier?.hasPrefix("org.mozilla.firefox") ?? false) && role == "AXWindow"
}
private func androidEmulator(_ runningApp: NSRunningApplication, _ title: String?) -> Bool {