Function window_vibrancy::apply_blur

source ·
pub fn apply_blur(
    window: impl HasWindowHandle,
    color: Option<Color>,
) -> Result<(), Error>
Expand description

Applies blur effect to window. Works only on Windows 7, Windows 10 v1809 or newer.

§WARNING:

This method has poor performance on Windows 11 build 22621, 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).

§Platform-specific

  • Windows: color is ignored on Windows 7 and has no effect.
  • Linux / macOS: Unsupported.