XkbFreeGeomKeys(3)

✨ XkbFreeGeomKeys ✨

Okay bestie, so this one's from the XKB FUNCTIONS fam (libX11, X Version 11 energy), and it's literally just about yeeting geometry keys out of existence. Cleanup era πŸ’…


🌸 NAME 🌸

XkbFreeGeomKeys β€” free geometry keys, periodt. That's the whole gig πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

void XkbFreeGeomKeys (XkbRowPtr row, int first, int count, Bool
       free_all);

πŸ’– ARGUMENTS πŸ’–

  • row β€” the row where the keys are gonna get freed, that's your target 🎯
  • first β€” which key kicks off the freeing, the starting point bestie
  • count β€” how many keys we're freeing, the amount, the quantity, the vibe πŸ“
  • free_all β€” when this is True => every single key gets freed, no cap πŸ‘‘

🌈 DESCRIPTION 🌈

So here's the tea β˜•: if free_all is True, then all the keys are freed, regardless of whatever first or count are set to β€” they just don't matter in that case, iykyk. Otherwise (aka free_all is not True), it frees count keys, starting with the one that first points at. Simple as that, slay ✨


Lowkey iconic that a function this short still has a whole personality. Free those keys, bestie 🫢

Source/version vibes: X Version 11, libX11 1.8.14 β€” and the date stamp on this lil page is XkbFreeGeomKeys(3). Bye for now, mwah πŸ’œπŸ§š

πŸ“¦ where this page comes from