Skip to content

Commit

Permalink
fix EntendClient hints not being applied window show (#15552)
Browse files Browse the repository at this point in the history
Co-authored-by: Max Katz <maxkatz6@outlook.com>
  • Loading branch information
emmauss and maxkatz6 authored Apr 30, 2024
1 parent 0aaa591 commit ea28c90
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Windows/Avalonia.Win32/WindowImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1205,6 +1205,8 @@ private void ShowWindow(WindowState state, bool activate)
UnmanagedMethods.ShowWindow(_hwnd, command.Value);
}

ExtendClientArea();

if (state == WindowState.Maximized)
{
MaximizeWithoutCoveringTaskbar();
Expand Down

0 comments on commit ea28c90

Please sign in to comment.