Function clear_vibrancy
Source pub fn clear_vibrancy(window: impl HasWindowHandle) -> Result<bool, Error>
Expand description
Clears vibrancy effect applied to window. Works only on macOS 10.10 or newer.
- Linux / Windows: Unsupported.
§Returns
Ok(true)
if the vibrancy effect was cleared
Ok(false)
if the vibrancy effect was not previously applied by this crate.