Skip to content

Commit

Permalink
fix: window positioning regression when windows are opened simultaneo…
Browse files Browse the repository at this point in the history
…usly (#841)
  • Loading branch information
lars-berger authored Nov 8, 2024
1 parent 61f8b90 commit e953b36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/wm/src/common/platform/native_window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -595,9 +595,6 @@ impl NativeWindow {
_ => HWND_NOTOPMOST,
};

// Whether to show or hide the window.
self.set_visible(is_visible, hide_method)?;

match state {
WindowState::Minimized => {
if !self.is_minimized()? {
Expand Down Expand Up @@ -658,6 +655,9 @@ impl NativeWindow {
}
};

// Whether to show or hide the window.
self.set_visible(is_visible, hide_method)?;

Ok(())
}
}
Expand Down

0 comments on commit e953b36

Please sign in to comment.