Browse Source

Merge pull request #7110 from AvaloniaUI/fixes/2398-osx-bring-window-to-front-when-activated

[OSX] bring window to front when Activate() is called.
pull/7132/head
Max Katz 5 years ago
committed by GitHub
parent
commit
4718747cd1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      native/Avalonia.Native/src/OSX/window.mm

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

@ -175,7 +175,7 @@ public:
{
if(Window != nullptr)
{
[Window makeKeyWindow];
[Window makeKeyAndOrderFront:nil];
[NSApp activateIgnoringOtherApps:YES];
}
}

Loading…
Cancel
Save