XkbFreeGeomOverlayKeys(3)
β¨ NAME β¨
XkbFreeGeomOverlayKeys β free keys in an overlay row π
This is your XkbFreeGeomOverlayKeys(3) page, bestie, hangin' out in the XKB FUNCTIONS manual. Let's get into it π«Ά
β¨ SYNOPSIS β¨
void XkbFreeGeomOverlayKeys (XkbRowPtr row, int first, int count, Bool
free_all);
β¨ ARGUMENTS β¨
rowβ the row where the keys should be freed, like, that's the target π―firstβ the first key to be freedcountβ how many keys to freefree_allβTrue=> all keys are freed
β¨ DESCRIPTION β¨
Okay so Xkb gives you a whole little crew of functions for allocating and freeing subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries β¨
Heads up though: these functions merely allocate space for the new element(s), and it is up to you to fill in the values explicitly in your code. Like, the space is reserved, but the actual values? That's your job, bestie π
The allocation functions increase sz_* but never touch num_* β unless there is an allocation failure, in which case they reset both sz_* and num_* to zero. So dramatic, but okay π
These functions return Success if they succeed, BadAlloc if they are not able to allocate space, or BadValue if a parameter is not as expected.
And for the actual freeing behavior: if free_all is True, all keys are freed regardless of the value of first and count. Otherwise, the number of keys specified by count are freed, beginning with the key specified by first in the specified row. Slay, precision π
β¨ RETURN VALUES β¨
Successβ TheXkbFreeGeomOverlayKeysfunction returnsSuccessif there are no allocation or argument errors. Iconic, no notes π
β¨ DIAGNOSTICS β¨
BadAllocβ Unable to allocate storage πBadValueβ An argument is out of range π©
Mwah π β footer flava: X Version 11, libX11 1.8.14, and XkbFreeGeomOverlayKeys(3), periodt. Bye bestie π«Άπ
π¦ where this page comes from
- alpine 3.24: libx11-doc 1.8.14-r0 Β· X11
- arch rolling: libx11 1.8.14-1 Β· MIT AND X11
- nixos 26.05: libx11 1.8.14
- nixpkgs unstable: libx11 1.8.14
- Copyright (c) 1999, Oracle and/or its affiliates
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms