We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80319bf commit 7b44621Copy full SHA for 7b44621
src/Windows/Avalonia.Win32/WindowImpl.cs
@@ -265,7 +265,7 @@ public WindowState WindowState
265
{
266
if (IsWindowVisible(_hwnd))
267
268
- ShowWindow(value, true);
+ ShowWindow(value, value != WindowState.Minimized); // If the window is minimized, it shouldn't be activated
269
}
270
271
_showWindowState = value;
@@ -973,7 +973,7 @@ private void ShowWindow(WindowState state, bool activate)
973
974
case WindowState.Minimized:
975
newWindowProperties.IsFullScreen = false;
976
- command = activate ? ShowWindowCommand.Minimize : ShowWindowCommand.ShowMinNoActive;
+ command = ShowWindowCommand.Minimize;
977
break;
978
case WindowState.Maximized:
979
0 commit comments