This commit is contained in:
Trevor Hall 2026-03-04 01:21:34 -05:00
commit ba8183b73b

View file

@ -20,10 +20,7 @@ namespace PrivacyGlass
TopMost = true;
Bounds = bounds;
// Important: background color = transparency key
// so GDI background is not drawn, blur shows through.
BackColor = Color.Black;
//TransparencyKey = Color.Black;
}
protected override CreateParams CreateParams
@ -76,8 +73,7 @@ namespace PrivacyGlass
// ACCENT_ENABLE_BLURBEHIND on Win10/11
AccentPolicy accent = new AccentPolicy();
accent.AccentState = AccentState.ACCENT_ENABLE_BLURBEHIND;
//accent.AccentState = AccentState.ACCENT_ENABLE_ACRYLICBLURBEHIND;
int a = TintOpacity & 0xFF;
int color =
(a << 24) |