Browse Source

Merge pull request #10153 from AvaloniaUI/fixes/macos-windowstate-crash

macOS: Sync actual window state after window show, and fix integration tests on macOS 13.1
release/0.10.19
Steven Kirk 3 years ago
committed by Steven Kirk
parent
commit
f3acb6e7d8
  1. 2
      native/Avalonia.Native/src/OSX/WindowImpl.mm

2
native/Avalonia.Native/src/OSX/WindowImpl.mm

@ -65,7 +65,7 @@ HRESULT WindowImpl::Show(bool activate, bool isDialog) {
_isModal = isDialog;
WindowBaseImpl::Show(activate, isDialog);
GetWindowState(&_actualWindowState);
HideOrShowTrafficLights();
return SetWindowState(_lastWindowState);

Loading…
Cancel
Save