We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8096b59 commit 136a0abCopy full SHA for 136a0ab
native/Avalonia.Native/src/OSX/AvnWindow.mm
@@ -237,7 +237,7 @@ - (NSRect)windowWillUseStandardFrame:(NSWindow*)window
237
238
-(BOOL)canBecomeKeyWindow
239
{
240
- if(_canBecomeKeyWindow)
+ if(_canBecomeKeyWindow && !_closed)
241
242
// If the window has a child window being shown as a dialog then don't allow it to become the key window.
243
auto parent = dynamic_cast<WindowImpl*>(_parent.getRaw());
0 commit comments