fix(window-state): correctly set decoration state if no saved state exists, fixes #421 (#424)

pull/425/head^2
Fabian-Lars 2 years ago committed by GitHub
parent ea63b40224
commit 523bcdc528
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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) {

Loading…
Cancel
Save