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 GitHub
parent f5dd1c008c
commit 0363be4776
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 167 additions and 2 deletions

View file

@ -42,6 +42,10 @@ impl Inner {
debug!("`Window::set_transparent` is ignored on iOS")
}
pub fn set_blur(&self, _blur: bool) {
debug!("`Window::set_blur` is ignored on iOS")
}
pub fn set_visible(&self, visible: bool) {
self.window.setHidden(!visible)
}