feat: add Window::is_decorated (#2172)

* feat: add `Window::is_decorated`

* move it right after `set_decorations`
This commit is contained in:
Amr Bashir 2022-02-17 15:31:13 +02:00 committed by GitHub
parent cd9ec0afc7
commit fa14863284
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 51 additions and 0 deletions

View file

@ -260,6 +260,11 @@ impl Inner {
warn!("`Window::set_decorations` is ignored on iOS")
}
pub fn is_decorated(&self) -> bool {
warn!("`Window::is_decorated` is ignored on iOS");
true
}
pub fn set_always_on_top(&self, _always_on_top: bool) {
warn!("`Window::set_always_on_top` is ignored on iOS")
}