Browse Source
Merge pull request #6212 from AvaloniaUI/fixes/6202-osx-initial-focus
OSX: Fix initial keyboard input
pull/6219/head
Dan Walmsley
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
0 deletions
-
native/Avalonia.Native/src/OSX/window.mm
|
|
|
@ -129,6 +129,7 @@ public: |
|
|
|
{ |
|
|
|
[Window orderFront: Window]; |
|
|
|
[Window makeKeyAndOrderFront:Window]; |
|
|
|
[Window makeFirstResponder:View]; |
|
|
|
[NSApp activateIgnoringOtherApps:YES]; |
|
|
|
} |
|
|
|
else |
|
|
|
|