egui/crates/egui-winit/src
Lander Brandt 9073516e30
Serialize window maximized state in `WindowSettings` (#5554)
A user of my Windows application reported a papercut where the
application restores its size on next load, but does not restore its
maximized state. This PR fixes that.

To test, I patched https://github.com/emilk/eframe_template to use my
local code since I knew that template saves/restores window data.
Testing methodology was to simply `cargo run`, maximize the application,
then close the application. `cargo run` again and the application should
start maximized.

Closes #1517.

* [x] I have followed the instructions in the PR template
* * This is mostly true, I had difficulties running `./scripts/check.sh`
for some reason. Possibly a bad Python version?
2025-01-06 09:19:17 +01:00
..
clipboard.rs Add `Context::copy_image` (#5533) 2024-12-29 18:03:32 +01:00
lib.rs Serialize window maximized state in `WindowSettings` (#5554) 2025-01-06 09:19:17 +01:00
window_settings.rs Serialize window maximized state in `WindowSettings` (#5554) 2025-01-06 09:19:17 +01:00