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
|
|
@ -895,6 +895,11 @@ impl UnownedWindow {
|
|||
self.invalidate_cached_frame_extents();
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn is_decorated(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn set_maximizable_inner(&self, maximizable: bool) -> util::Flusher<'_> {
|
||||
let mut hints = self.xconn.get_motif_hints(self.xwindow);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue