Skip to content

Commit

Permalink
fix: display firefox develop edition fullscreen windows (closes #558)
Browse files Browse the repository at this point in the history
  • Loading branch information
lwouis committed Aug 27, 2020
1 parent 6e8896f commit 28aefda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api-wrappers/AXUIElement.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 28aefda

Please sign in to comment.