File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,11 @@ public enum WindowTransparencyLevel
22
22
/// </summary>
23
23
AcrylicBlur ,
24
24
25
+ /// <summary>
26
+ /// Force acrylic on some incompatible versions of Windows 10.
27
+ /// </summary>
28
+ ForceAcrylicBlur ,
29
+
25
30
/// <summary>
26
31
/// The window background is based on desktop wallpaper tint with a blur. This will only work on Windows 11
27
32
/// </summary>
Original file line number Diff line number Diff line change @@ -394,6 +394,11 @@ private WindowTransparencyLevel Win10EnableBlur(WindowTransparencyLevel transpar
394
394
}
395
395
}
396
396
397
+ if ( Win32Platform . WindowsVersion . Major == 10 && effect == BlurEffect . Mica )
398
+ {
399
+ effect = BlurEffect . Acrylic ;
400
+ }
401
+
397
402
_blurHost ? . SetBlur ( effect ) ;
398
403
399
404
return transparencyLevel ;
@@ -426,7 +431,8 @@ private WindowTransparencyLevel Win10EnableBlur(WindowTransparencyLevel transpar
426
431
break ;
427
432
428
433
case WindowTransparencyLevel . AcrylicBlur :
429
- case ( WindowTransparencyLevel . AcrylicBlur + 1 ) : // hack-force acrylic.
434
+ case WindowTransparencyLevel . ForceAcrylicBlur : // hack-force acrylic.
435
+ case WindowTransparencyLevel . Mica :
430
436
accent . AccentState = AccentState . ACCENT_ENABLE_ACRYLIC ;
431
437
transparencyLevel = WindowTransparencyLevel . AcrylicBlur ;
432
438
break ;
You can’t perform that action at this time.
0 commit comments