Skip to content

Commit

Permalink
Merge pull request AvaloniaUI#10153 from AvaloniaUI/fixes/macos-windo…
Browse files Browse the repository at this point in the history
…wstate-crash

macOS: Sync actual window state after window show, and fix integration tests on macOS 13.1
  • Loading branch information
grokys committed Feb 2, 2023
1 parent 7d09e7c commit f3acb6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native/Avalonia.Native/src/OSX/WindowImpl.mm
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
_isModal = isDialog;

WindowBaseImpl::Show(activate, isDialog);

GetWindowState(&_actualWindowState);
HideOrShowTrafficLights();

return SetWindowState(_lastWindowState);
Expand Down

0 comments on commit f3acb6e

Please sign in to comment.