SDL_WINDOWPOS_UNDEFINED_MASK(3)
π SDL_WINDOWPOS_UNDEFINED_MASK π
okay bestie, welcome to the SDL3 FUNCTIONS corner of the manual, page SDL_WINDOWPOS_UNDEFINED_MASK(3). this one's short but it's lowkey a lil magic thing and you're gonna eat it up β¨
πΈ NAME πΈ
SDL_WINDOWPOS_UNDEFINED_MASK β it's literally a magic value that gets used with SDL_WINDOWPOS_UNDEFINED. that's the whole vibe π
β¨ SYNOPSIS β¨
#include <SDL3/SDL_video.h>
#define SDL_WINDOWPOS_UNDEFINED_MASK 0x1FFF0000u
like. there it is. 0x1FFF0000u. iconic number, no notes π
π¦ DESCRIPTION π¦
so here's the tea, bestie: generally this macro isn't used directly. nope! instead it gets reached through SDL_WINDOWPOS_UNDEFINED or SDL_WINDOWPOS_UNDEFINED_DISPLAY. it's giving backstage pass energy β it does the work, the other two get the spotlight π
fr fr, don't go grabbing this one by hand unless you know exactly what you're doing. the other macros are the main characters here π
π AVAILABILITY π
this macro has been available since SDL 3.2.0. so if you're on something olderβ¦ babe. it's not there. upgrade era π«
π«Ά SEE ALSO π«Ά
and that's the whole page, bestie, you understood it, slay π
signing off from the Simple Directmedia Layer crew β this is SDL 3.4.18, page SDL_WINDOWPOS_UNDEFINED_MASK(3), and yes the copyright/license vibes belong to them, not me. mwah, go set some window positions ππΈ
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms