mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-31 05:40:04 -04:00
Add Window::set_transparent
Provide a hint to system compositor whether the window is transparent or not. Only implemented on macOS and Wayland for now.
This commit is contained in:
@@ -240,6 +240,9 @@ impl Window {
|
||||
.expect("failed to set title");
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn set_transparent(&self, _transparent: bool) {}
|
||||
|
||||
#[inline]
|
||||
pub fn set_visible(&self, _visibility: bool) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user