Browse Source

correctly initialize hints.

Dan Walmsley 5 years ago
parent
commit
875b209859
1 changed files with 1 additions and 1 deletions
  1. 1 1
      native/Avalonia.Native/src/OSX/window.mm

+ 1 - 1
native/Avalonia.Native/src/OSX/window.mm

@@ -490,7 +490,7 @@ private:
     WindowImpl(IAvnWindowEvents* events, IAvnGlContext* gl) : WindowBaseImpl(events, gl)
     {
         _isClientAreaExtended = false;
-        _extendClientHints = AvnChromeHintsNoChrome;
+        _extendClientHints = AvnChromeHintsSystemTitleBar;
         _fullScreenActive = false;
         _canResize = true;
         _decorations = SystemDecorationsFull;