fix: window state events

This commit is contained in:
Ashley Wulber 2025-09-25 15:38:16 -04:00
parent 43f4760b0e
commit ec30b8004f
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
5 changed files with 28 additions and 1 deletions

View file

@ -375,6 +375,11 @@ pub enum WindowEvent {
/// - **iOS / Android / Web / Orbital / Windows:** Unsupported.
SuggestedBounds(Option<PhysicalSize<u32>>),
/// The window state has changed.
///
/// - **iOS / Android / Web / Orbital / Windows:** Unsupported.
WindowStateChanged,
/// The system window theme has changed.
///
/// Applications might wish to react to this to change the theme of the content of the window