SDL_ExposeEvent(3)
β¨ NAME β¨
SDL_ExposeEvent β Quit requested event π
okay so bestie, welcome to the SDL API Reference page for SDL_ExposeEvent(3) β yes it's giving very "why is this so short", but it's important, trust. π«Ά
π STRUCTURE DEFINITION π
here's the whole lil guy, no cap, this is literally all of it:
typedef struct{
Uint8 type
} SDL_ExposeEvent;
πΈ STRUCTURE DATA πΈ
typeβSDL_VIDEOEXPOSEβ
π DESCRIPTION π
SDL_ExposeEvent is a member of the SDL_Event union, and it gets used when an event of type SDL_VIDEOEXPOSE is reported. slay. β¨
A VIDEOEXPOSE event is triggered when the screen has been modified outside of the application β usually by the window manager β and it needs to be redrawn. so basically the WM said "not me changing things behind your back" π and now your app has to redraw everything. main character energy honestly.
bestie this one is NOT the same as a quit event, okay?? the NAME line says "Quit requested event" but the actual description is about screen redraw. iconic typo behavior, but the facts are the facts. π
π¦ SEE ALSO π¦
SDL_EventSDL_SetEventFilter
and that's the whole page, periodt π
this lil gem came from SDL, dated Tue 11 Sep 2001, 23:00 β yeah, 2001 said hi, and it's still out here doing its thing. no cap, obsessed. πππΈ
π¦ where this page comes from
- debian bookworm: libsdl1.2-dev 1.2.15+dfsg2-8 Β· LGPL-2.1-or-later
- nixos 26.05: SDL_sixel 0-unstable-2016-02-06
- nixpkgs unstable: SDL_sixel 0-unstable-2016-02-06
- ubuntu jammy: libsdl1.2-dev 1.2.15+dfsg2-6 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms