macos: make non-native fullscreen windows not resizeable

This commit is contained in:
Dmitry Zhlobo
2024-12-08 16:04:51 +01:00
committed by Mitchell Hashimoto
parent 2fb92dd4aa
commit 49f105cd27

View File

@ -198,6 +198,10 @@ class NonNativeFullscreen: FullscreenBase, FullscreenStyle {
// Being untitled let's our content take up the full frame.
window.styleMask.remove(.titled)
// We dont' want the non-native fullscreen window to be resizable
// from the edges.
window.styleMask.remove(.resizable)
// Focus window
window.makeKeyAndOrderFront(nil)