pub fn apply_acrylic(
    window: impl HasRawWindowHandle,
    color: Option<Color>
) -> Result<(), Error>
Expand description

Applies Acrylic effect to you window. Works only on Windows 10 v1809 or newer and Windows 11

  • color is ignored on Windows 11 build 22523 and newer and has no effect.

WARNING:

This method has poor performance on Windows 10 v1903+ and Windows 11 build 22000, the window will lag when resizing or dragging. It is an issue in the undocumented api used for this method and microsoft needs to fix it (they probably won’t).