XkbFreeKeyboard(3)

okay so bestie, you clicked into XkbFreeKeyboard(3) and this is the XKB FUNCTIONS zone of the manual πŸ’…βœ¨. It's literally about destroying either an entire XkbDescRec or just some of its members β€” it's giving cleanup era, no cap.


πŸŽ€ NAME πŸŽ€

XkbFreeKeyboard β€” destroys either an entire XkbDescRec or just some of its members πŸ’–

✨ SYNOPSIS ✨

void XkbFreeKeyboard (XkbDescPtr xkb, unsigned int which, Bool
       free_all);

🌸 ARGUMENTS 🌸

  • xkb β€” keyboard description with components to free 🫢
  • which β€” mask selecting components to free βœ‚οΈ
  • free_all β€” True => free all components and xkb πŸ’€

πŸ’– DESCRIPTION πŸ’–

XkbFreeKeyboard frees the components of xkb specified by which and sets the corresponding values to NULL. Slay, clean slate, the vibes are immaculate ✨.

If free_all is True, XkbFreeKeyboard frees every non-NULL component of xkb and then frees the xkb structure itself. That's the full send, bestie πŸ”₯.

heads up: if kbd is NULL, no operation is performed. Yep, the page says kbd here, not xkb β€” I'm just reading it exactly, no editing, periodt πŸ™ˆ.

πŸ¦‹ SEE ALSO πŸ¦‹

obsessed with these cross-references, iykyk 🫢


byeee πŸ’– this iconic page comes from X Version 11 and libX11 1.8.14 β€” the footer has no date listed, just version info and main character energy, fr fr 🌈.

πŸ“¦ where this page comes from