Add Window::set_blur

Allow clients to request blur behind their window, implemented on
Wayland for now.
This commit is contained in:
Dmitry Sharshakov
2023-10-08 22:53:15 +03:00
committed by Kirill Chibisov
parent 570f3101e5
commit b41f01c990
17 changed files with 167 additions and 2 deletions

View File

@@ -596,6 +596,8 @@ impl WinitWindow {
self.setOpaque(!transparent)
}
pub fn set_blur(&self, _blur: bool) {}
pub fn set_visible(&self, visible: bool) {
match visible {
true => self.makeKeyAndOrderFront(None),