fallback to normal blur on linux.

This commit is contained in:
Dan Walmsley 2020-06-10 23:57:30 -03:00
parent 1d4972d679
commit d34ac70573
1 changed files with 2 additions and 1 deletions

View File

@ -31,6 +31,7 @@ namespace Avalonia.Controls
if (!x)
{
SystemDecorations = SystemDecorations.BorderOnly;
TransparencyLevelHint = WindowTransparencyLevel.Blur;
}
});
}
@ -38,7 +39,7 @@ namespace Avalonia.Controls
protected override void OnApplyTemplate(TemplateAppliedEventArgs e)
{
base.OnApplyTemplate(e);
ExtendClientAreaChromeHints = ExtendClientAreaChromeHints.ManagedChromeButtons;
ExtendClientAreaChromeHints = ExtendClientAreaChromeHints.SystemChromeButtons;
}
}
}