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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
native/Avalonia.Native/src/OSX/window.mm
|
|
|
@ -175,7 +175,7 @@ public: |
|
|
|
{ |
|
|
|
if(Window != nullptr) |
|
|
|
{ |
|
|
|
[Window makeKeyWindow]; |
|
|
|
[Window makeKeyAndOrderFront:nil]; |
|
|
|
[NSApp activateIgnoringOtherApps:YES]; |
|
|
|
} |
|
|
|
} |
|
|
|
|