Skip to content

Commit

Permalink
fix: regression in restore detection
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-berger committed Nov 8, 2024
1 parent 51366ba commit 81ef564
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ pub fn handle_window_location_changed(
// A fullscreen window that gets minimized can hit this arm, so
// ignore such events and let it be handled by the handler for
// `PlatformEvent::WindowMinimized` instead.
if !(is_fullscreen || is_maximized || !is_minimized) {
if !(is_fullscreen || is_maximized) && !is_minimized {
info!("Window restored");

let target_state = window
Expand Down

0 comments on commit 81ef564

Please sign in to comment.