Skip to content

Commit f3acb6e

Browse files
committed
Merge pull request AvaloniaUI#10153 from AvaloniaUI/fixes/macos-windowstate-crash
macOS: Sync actual window state after window show, and fix integration tests on macOS 13.1
1 parent 7d09e7c commit f3acb6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
_isModal = isDialog;
6666

6767
WindowBaseImpl::Show(activate, isDialog);
68-
68+
GetWindowState(&_actualWindowState);
6969
HideOrShowTrafficLights();
7070

7171
return SetWindowState(_lastWindowState);

0 commit comments

Comments
 (0)