pub fn set_backdrop_color<T>(id: Id, r: u32, g: u32, b: u32, a: u32) -> Task<T>Expand description
Sets a compositor-rendered backdrop color for the window.
The compositor will render a colored rectangle behind the window content, using the window’s corner radius. RGBA components are in the range 0-255.
§Platform-specific
- COSMIC/Wayland: Uses
backdrop_color_manager_v1protocol. - Other platforms: No effect.