Browse Source
Merge pull request #5546 from AvaloniaUI/fixes/win32-showactivated
Don't call SetFocus on Windows with ShowActivated == false.
pull/4731/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
1 deletions
-
src/Windows/Avalonia.Win32/WindowImpl.cs
|
|
|
@ -958,7 +958,7 @@ namespace Avalonia.Win32 |
|
|
|
MaximizeWithoutCoveringTaskbar(); |
|
|
|
} |
|
|
|
|
|
|
|
if (!Design.IsDesignMode) |
|
|
|
if (!Design.IsDesignMode && activate) |
|
|
|
{ |
|
|
|
SetFocus(_hwnd); |
|
|
|
} |
|
|
|
|