diff --git a/Loop/Window Management/Window.swift b/Loop/Window Management/Window.swift index 51a64441..ca9106eb 100644 --- a/Loop/Window Management/Window.swift +++ b/Loop/Window Management/Window.swift @@ -24,7 +24,7 @@ class Window { } self.nsRunningApplication = NSWorkspace.shared.runningApplications.first(where: { - $0.processIdentifier == pid! + $0.processIdentifier == pid }) // Set self's CGWindowID