Skip to content

Commit

Permalink
ignore Screenshot and one invisible window from Magnet
Browse files Browse the repository at this point in the history
  • Loading branch information
godbout committed Jan 20, 2025
1 parent 0f1213a commit b81c890
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/WooshyWindowToTheForeground/Menus/Entrance.swift
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@ extension Entrance {
&& kCGWindowOwnerName != "Alfred"
&& kCGWindowOwnerName != "Notification Center"
&& kCGWindowOwnerName != "Wallpaper"
&& kCGWindowOwnerName != "Screenshot"
&& (kCGWindowOwnerName != "HazeOver" || kCGWindowAlpha = 1)
&& (kCGWindowOwnerName != "Magnet" || kCGWindowLayer != 25)
&& kCGWindowAlpha > 0
""")) as NSArray? else { return nil }

Expand Down

0 comments on commit b81c890

Please sign in to comment.