Browse Source
Merge pull request #5989 from AvaloniaUI/fixes/5988-showactivated-extendclientarea
Don't activate window when extending client area.
pull/6014/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
|
|
|
@ -900,7 +900,7 @@ namespace Avalonia.Win32 |
|
|
|
IntPtr.Zero, |
|
|
|
rcWindow.left, rcWindow.top, |
|
|
|
rcClient.Width, rcClient.Height, |
|
|
|
SetWindowPosFlags.SWP_FRAMECHANGED); |
|
|
|
SetWindowPosFlags.SWP_FRAMECHANGED | SetWindowPosFlags.SWP_NOACTIVATE); |
|
|
|
|
|
|
|
if (_isClientAreaExtended && WindowState != WindowState.FullScreen) |
|
|
|
{ |
|
|
|
|