On Wayland, fix Window::is_decorated with CSD
This commit is contained in:
parent
b166e1ff13
commit
89aa7cc06e
2 changed files with 3 additions and 1 deletions
|
|
@ -384,7 +384,7 @@ impl WindowState {
|
|||
.map(|configure| configure.decoration_mode == DecorationMode::Client)
|
||||
.unwrap_or(false);
|
||||
if let Some(frame) = csd.then_some(self.frame.as_ref()).flatten() {
|
||||
frame.is_hidden()
|
||||
!frame.is_hidden()
|
||||
} else {
|
||||
// Server side decorations.
|
||||
true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue