fix: sanguosha game wasn't listed in alt-tab (closes #441)
This commit is contained in:
1 parent
1b956b3862
commit
e67b07572d
1 file changed
+6
-1
@@ -58,7 +58,12 @@ extension AXUIElement {
|
|||||||
(["AXStandardWindow", "AXDialog"].contains(subrole) ||
|
(["AXStandardWindow", "AXDialog"].contains(subrole) ||
|
||||||
steam(runningApp, title, role) ||
|
steam(runningApp, title, role) ||
|
||||||
firefoxFullscreenVideo(runningApp, role) ||
|
firefoxFullscreenVideo(runningApp, role) ||
|
||||||
androidEmulator(runningApp, title))
|
androidEmulator(runningApp, title) ||
|
||||||
|
SanGuoShaAirWD(runningApp))
|
||||||
|
}
|
||||||
|
|
||||||
|
private func SanGuoShaAirWD(_ runningApp: NSRunningApplication) -> Bool {
|
||||||
|
return runningApp.bundleIdentifier == "SanGuoShaAirWD"
|
||||||
}
|
}
|
||||||
|
|
||||||
private func steam(_ runningApp: NSRunningApplication, _ title: String?, _ role: String?) -> Bool {
|
private func steam(_ runningApp: NSRunningApplication, _ title: String?, _ role: String?) -> Bool {
|
||||||
|
|||||||
Reference in new issue
Block a user