Skip to content

Commit fc4f778

Browse files
authored
Merge branch 'master' into win32_dpi_awareness_option
2 parents cc91baa + 0f93224 commit fc4f778

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Windows/Avalonia.Win32/WindowImpl.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ private PixelSize HiddenBorderSize
552552
get
553553
{
554554
// Windows 10 and 11 add a 7 pixel invisible border on the left/right/bottom of windows for resizing
555-
if (Win32Platform.WindowsVersion.Major < 10 || !HasFullDecorations)
555+
if (Win32Platform.WindowsVersion.Major < 10 || !HasFullDecorations || GetStyle().HasFlag(WindowStyles.WS_POPUP))
556556
{
557557
return PixelSize.Empty;
558558
}

0 commit comments

Comments
 (0)