fix: language switcher picked up as window
This commit is contained in:
1 parent
4e35f9f290
commit
f4f7d9addc
1 file changed
+3
-2
@@ -238,8 +238,9 @@ extension AXUIElement {
|
||||
// Some non-windows have cgWindowId == 0 (e.g. windows of apps starting at login with the checkbox "Hidden" checked)
|
||||
return wid != 0
|
||||
// Finder's file copy dialogs are wide but < 100 height (see https://github.com/lwouis/alt-tab-macos/issues/1466)
|
||||
// Sonoma introduced a bug: a caps-lock indicator shows as a small window. We try to hide it by filtering out tiny windows
|
||||
&& size != nil && (size!.width > 100 || size!.height > 100) && (
|
||||
// Sonoma introduced a bug: a caps-lock & language indicators shows as a small window.
|
||||
// We try to hide it by filtering out tiny windows
|
||||
&& size != nil && (size!.width > 100 && size!.height > 50) && (
|
||||
(
|
||||
books(app) ||
|
||||
keynote(app) ||
|
||||
|
||||
Reference in new issue
Block a user