From cb8d4b40ce626918e9199a5f8aee1fcb95485019 Mon Sep 17 00:00:00 2001 From: Emmanuel Hansen Date: Thu, 7 Dec 2023 08:39:55 +0000 Subject: [PATCH] win32 - fix client size update when window is opened with extended client area (#13865) --- src/Windows/Avalonia.Win32/WindowImpl.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Windows/Avalonia.Win32/WindowImpl.cs b/src/Windows/Avalonia.Win32/WindowImpl.cs index db2f5c6a5a..0c54f0fe6d 100644 --- a/src/Windows/Avalonia.Win32/WindowImpl.cs +++ b/src/Windows/Avalonia.Win32/WindowImpl.cs @@ -1348,7 +1348,7 @@ namespace Avalonia.Win32 else SetFullScreen(newProperties.IsFullScreen); - if (!_isFullScreenActive) + if (!_isFullScreenActive && ((oldProperties.Decorations != newProperties.Decorations) || forceChanges)) { var style = GetStyle();