mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 07:03:15 -04:00
On Wayland, fix Window::is_decorated with CSD
This commit is contained in:
committed by
Kirill Chibisov
parent
7fa7cea700
commit
d86ce9de9f
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user