feat: add Window::is_decorated (#2172)
* feat: add `Window::is_decorated` * move it right after `set_decorations`
This commit is contained in:
parent
cd9ec0afc7
commit
fa14863284
10 changed files with 51 additions and 0 deletions
|
|
@ -269,6 +269,10 @@ impl Window {
|
|||
// Intentionally a no-op, no canvas decorations
|
||||
}
|
||||
|
||||
pub fn is_decorated(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn set_always_on_top(&self, _always_on_top: bool) {
|
||||
// Intentionally a no-op, no window ordering
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue