Display state change event data (event.display.*)
Defined in <SDL3/SDL_events.h>
typedef struct SDL_DisplayEvent
{/**< SDL_DISPLAYEVENT_* */
SDL_EventType type;
Uint32 reserved;/**< In nanoseconds, populated using SDL_GetTicksNS() */
Uint64 timestamp; /**< The associated display */
SDL_DisplayID displayID;/**< event dependent data */
Sint32 data1; /**< event dependent data */
Sint32 data2; } SDL_DisplayEvent;
This struct is available since SDL 3.1.3.