Browse Source

win32 - fix client size update when window is opened with extended client area (#13865)

pull/13893/head
Emmanuel Hansen 2 years ago
committed by GitHub
parent
commit
cb8d4b40ce
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Windows/Avalonia.Win32/WindowImpl.cs

2
src/Windows/Avalonia.Win32/WindowImpl.cs

@ -1348,7 +1348,7 @@ namespace Avalonia.Win32
else else
SetFullScreen(newProperties.IsFullScreen); SetFullScreen(newProperties.IsFullScreen);
if (!_isFullScreenActive) if (!_isFullScreenActive && ((oldProperties.Decorations != newProperties.Decorations) || forceChanges))
{ {
var style = GetStyle(); var style = GetStyle();

Loading…
Cancel
Save