Skip to content

Commit

Permalink
On Wayland, don't build frame without decorations
Browse files Browse the repository at this point in the history
  • Loading branch information
kchibisov committed Oct 27, 2023
1 parent 12dbbf8 commit 2f64a6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/platform_impl/linux/wayland/window/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ impl WindowState {

if configure.decoration_mode == DecorationMode::Client
&& self.frame.is_none()
&& self.decorate
&& !self.csd_fails
{
match WinitFrame::new(
Expand Down

0 comments on commit 2f64a6f

Please sign in to comment.