Skip to content

Commit

Permalink
Fix window maximizing (#2118)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel-N authored Jan 22, 2022
1 parent 3f32c7c commit 0079ae3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ You can find its changes [documented below](#070---2021-01-01).
- Add parent windows to non-main windows. (Coordinate space is now from their origin) ([#1919] by [@JAicewizard])
- `ListIter` implementations for `Arc<Vec<T>>`, `(S, Arc<Vec<T>>)`, `Arc<VecDequeue<T>>` and `(S, Arc<VecDequeue<T>>)` ([#1967] by [@xarvic])
- Closures passed to `Label::new` can now return any type that implements `Into<ArcStr>` ([#2064] by [@jplatte])
- Removed line of code that prevented window miximalization. ([#2113] by [@Pavel-N])

### Deprecated

Expand Down Expand Up @@ -534,6 +535,7 @@ Last release without a changelog :(
[@klemensn]: https://github.com/klemensn
[@agentsim]: https://github.com/agentsim
[@jplatte]: https://github.com/jplatte
[@Pavel-N]: https://github.com/Pavel-N
[@maurerdietmar]: https://github.com/maurerdietmar

[#599]: https://github.com/linebender/druid/pull/599
Expand Down
2 changes: 0 additions & 2 deletions druid-shell/src/backend/gtk/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1074,8 +1074,6 @@ impl WindowHandle {
(Restored, Minimized) => state.window.deiconify(),
(Restored, Restored) => (), // Unreachable
}

state.window.unmaximize();
}
}

Expand Down

0 comments on commit 0079ae3

Please sign in to comment.