mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-01-06 21:37:49 +00:00
Replace check
* Check whether window is fullscreen before clamping
This commit is contained in:
@@ -152,7 +152,7 @@ class BaseTerminalController: NSWindowController,
|
||||
// screen then we clamp it back to within the screen.
|
||||
guard let window else { return }
|
||||
guard window.isVisible else { return }
|
||||
guard window.isOnActiveSpace else { return }
|
||||
guard !window.styleMask.contains(.fullScreen) else { return }
|
||||
guard let screen = window.screen else { return }
|
||||
|
||||
let visibleFrame = screen.visibleFrame
|
||||
|
||||
Reference in New Issue
Block a user