diff -r 84e0a24bab4a -r f40dadf3498f ui/winui/window.cpp --- a/ui/winui/window.cpp Tue Oct 03 14:18:25 2023 +0200 +++ b/ui/winui/window.cpp Tue Oct 03 15:32:46 2023 +0200 @@ -36,6 +36,7 @@ #include #include #include +#include #include "appmenu.h" #include "container.h" @@ -72,6 +73,10 @@ free(wtitle); } + auto backdrop = winrt::Microsoft::UI::Xaml::Media::MicaBackdrop(); + backdrop.Kind(winrt::Microsoft::UI::Composition::SystemBackdrops::MicaKind::Base); // alternative: BaseAlt + // TODO: https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/system-backdrop-controller#example-use-mica-in-a-windows-appsdkwinui-3-app + Grid grid = Grid(); window.Content(grid);