diff --git a/native/Avalonia.Native/src/OSX/WindowImpl.mm b/native/Avalonia.Native/src/OSX/WindowImpl.mm index 42ac37ae8cc0..9900ffaa0a97 100644 --- a/native/Avalonia.Native/src/OSX/WindowImpl.mm +++ b/native/Avalonia.Native/src/OSX/WindowImpl.mm @@ -562,6 +562,10 @@ switch (_decorations) { case SystemDecorationsNone: s = s | NSWindowStyleMaskFullSizeContentView; + + if ((_canResize && _isEnabled) || _transitioningWindowState) { + s = s | NSWindowStyleMaskResizable; + } break; case SystemDecorationsBorderOnly: @@ -570,13 +574,13 @@ case SystemDecorationsFull: s = s | NSWindowStyleMaskTitled | NSWindowStyleMaskClosable; - if ((_canResize && _isEnabled) || _transitioningWindowState) { - s = s | NSWindowStyleMaskResizable; + s = s | NSWindowStyleMaskResizable; } break; } + if (!IsOwned()) { s |= NSWindowStyleMaskMiniaturizable; }