Skip to content

Commit

Permalink
fix(window-state): correctly set decoration state if no saved state e…
Browse files Browse the repository at this point in the history
…xists, fixes #421
  • Loading branch information
FabianLars committed Jun 7, 2023
1 parent ea63b40 commit 759d458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/window-state/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ impl<R: Runtime> WindowExt for Window<R> {
}

if flags.contains(StateFlags::DECORATIONS) {
metadata.visible = self.is_visible()?;
metadata.decorated = self.is_decorated()?;
}

if flags.contains(StateFlags::FULLSCREEN) {
Expand Down

0 comments on commit 759d458

Please sign in to comment.