Skip to content

Commit

Permalink
only apply extend client if window is extended.
Browse files Browse the repository at this point in the history
  • Loading branch information
emmauss committed Apr 30, 2024
1 parent 0dbeca3 commit 13580ef
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,11 @@ message switch

case WindowsMessage.WM_SHOWWINDOW:
_shown = wParam != default;
ExtendClientArea();

if (_isClientAreaExtended)
{
ExtendClientArea();
}
break;

case WindowsMessage.WM_SIZE:
Expand Down

0 comments on commit 13580ef

Please sign in to comment.