mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-01 15:38:35 +00:00
macOS: non-native fullscreen should not hide menu on fullscreen space
Fixes #7075 We have to use private APIs for this, I couldn't find a reliable way otherwise.
This commit is contained in:
8
macos/Sources/Helpers/NSWindow+Extension.swift
Normal file
8
macos/Sources/Helpers/NSWindow+Extension.swift
Normal file
@@ -0,0 +1,8 @@
|
||||
import AppKit
|
||||
|
||||
extension NSWindow {
|
||||
/// Get the CGWindowID type for the window (used for low level CoreGraphics APIs).
|
||||
var cgWindowId: CGWindowID {
|
||||
CGWindowID(windowNumber)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user