SDL_HINT_VID...SS_COMPOSITOR(3)
π SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR
okay bestie, this is a page from the SDL3 FUNCTIONS manual, and it's literally just one little hint variable that decides whether the X11 _NET_WM_BYPASS_COMPOSITOR hint gets used or not. that's it. that's the whole vibe. β¨
β¨ NAME β¨
SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR β a variable controlling whether the X11 _NET_WM_BYPASS_COMPOSITOR hint should be used.
like. the name is a mouthful, i know. say it three times fast and you'll summon a window manager. π¦
π SYNOPSIS π
#include <SDL3/SDL_hints.h>
#define SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR "SDL_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR"
so you pull in <SDL3/SDL_hints.h> and the macro is right there, and its string value is exactly the same as its name, which is honestly so iconic of it. no notes. π
πΈ DESCRIPTION πΈ
the variable can be set to the following values, and there are exactly two, so this is a short list, we love a short list:
"0"β Disable_NET_WM_BYPASS_COMPOSITOR. π«"1"β Enable_NET_WM_BYPASS_COMPOSITOR. (this one's the default) β
bestie. listen. this hint should be set before creating a window. not after. before. the window does not care about your last-minute changes, she has already made her choices. π
β AVAILABILITY β
this hint is available since SDL 3.2.0. so if you're on anything older, it's giving nothing, i'm sorry. π
mwah π that's the whole page. go forth and bypass (or don't bypass) that compositor, you absolute main character.
this has been a page from Simple Directmedia Layer, brought to you by SDL 3.4.18 β stay slaying, stay reading manpages, periodt. π β¨
π¦ 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