Window state change event data (event.window.*)
Defined in <SDL3/SDL_events.h>
typedef struct SDL_WindowEvent
{/**< SDL_EVENT_WINDOW_* */
SDL_EventType type;
Uint32 reserved;/**< In nanoseconds, populated using SDL_GetTicksNS() */
Uint64 timestamp; /**< The associated window */
SDL_WindowID windowID; /**< event dependent data */
Sint32 data1; /**< event dependent data */
Sint32 data2; } SDL_WindowEvent;
This struct is available since SDL 3.1.3.