xcb_glx_set_client_info_arb(3)

πŸ“¦
version 1.17.0 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

xcb_glx_set_client_info_arb β€” bestie, this is the XCB request that tells the GLX server who your client is. That's literally it. The manpage itself has zero description, and we're not making stuff up, so let's just vibe through it together 🫢


✨ SYNOPSIS ✨

First off, the header you need:

#include <xcb/glx.h>

πŸŽ€ Request function

xcb_void_cookie_t xcb_glx_set_client_info_arb(xcb_connection_t *conn,
       uint32_t major_version, uint32_t minor_version,
       uint32_t num_versions, uint32_t gl_str_len, uint32_t glx_str_len,
       const uint32_t *gl_versions, const char *gl_extension_string,
       const char *glx_extension_string);

Look at all those parameters. She's got a lot going on and honestly? Iconic behavior πŸ’…


🌸 REQUEST ARGUMENTS 🌸

  • conn β€” your xcb_connection_t, aka the connection to X11. Your lil hotline to the server πŸ’œ
  • major_version β€” TODO: NOT YET DOCUMENTED. (The manpage really said "no thoughts, head empty" on this one 😭)
  • minor_version β€” TODO: NOT YET DOCUMENTED. (same energy fr fr)
  • num_versions β€” TODO: NOT YET DOCUMENTED.
  • gl_str_len β€” TODO: NOT YET DOCUMENTED.
  • glx_str_len β€” TODO: NOT YET DOCUMENTED.
  • gl_versions β€” TODO: NOT YET DOCUMENTED.
  • gl_extension_string β€” TODO: NOT YET DOCUMENTED.
  • glx_extension_string β€” TODO: NOT YET DOCUMENTED.
Not me pointing out that the entire argument list is undocumented πŸ’€ that's not me being shady, that's just literally what the page says. We keep it 100 around here.

πŸ¦‹ DESCRIPTION πŸ¦‹

So. The DESCRIPTION section… is empty. Nothing. Nada. A whole lot of nothing. The void stared back 🌈✨


πŸ“ RETURN VALUE πŸ“

It hands you back an xcb_void_cookie_t. And bestie, listen β€” any errors? You have to catch those yourself in the event loop. It's not gonna come knock on your door πŸ™ˆ

But if you're the type who wants to handle errors directly instead, use xcb_glx_set_client_info_arb_checked together with xcb_request_check. Head over to xcb-requests(3) for the deets, iykyk πŸ‘‘


🌟 ERRORS 🌟

Good news, queen: this request never generates any errors. Never. Clean. Flawless. No drama. Periodt πŸ’–


⭐ SEE ALSO ⭐

(There's nothing here. The SEE ALSO section is a ghost town πŸ‘» Nothing listed. We're not inventing references β€” no cap.)


🧚 AUTHOR 🧚

Generated from glx.xml. If you've got corrections or improvements, hit up xcb@lists.freedesktop.org β€” they want your feedback, and honestly? That's so valid of them 🫢


And that's the whole page, bestie! This one came from X Version 11, libxcb 1.17.0, and the page is dated with the manual name xcb_glx_set_client_info_arb(3). Short, mysterious, a little chaotic β€” she's giving main character energy with a secret backstory, and we love her for it πŸ’…πŸŒΈβœ¨