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