XkbAllocGeomDoodads(3)
π XkbAllocGeomDoodads π
okay bestie, this icon is from the XKB FUNCTIONS manual, and she's here to make room for doodads in your keyboard geometry. It's giving "reserve the space, then fill in the details yourself" energy π β¨
π NAME π
XkbAllocGeomDoodads β allocate doodads that are global to a keyboard geometry. Periodt.
β¨ SYNOPSIS β¨
Status XkbAllocGeomDoodads (XkbGeometryPtr geom, int num_needed);
π ARGUMENTS π
geomβ the geometry for which doodads should be allocated, bestie.num_neededβ the number of new doodads required. Like, count them. π’
π¦ DESCRIPTION π¦
okay so Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. π οΈ
Vibe check: 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. They are not doing the whole glow-up for you, bestie. π
These 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. π
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.
XkbAllocGeomDoodads allocates num_needed doodads and adds them to the specified geometry geom. No initialization of the doodads is done. So they show up with zero styling β you have to dress them yourself. π
π DIAGNOSTICS π
BadAllocβ unable to allocate storage. The allocation said "not today" πBadValueβ an argument is out of range. One of your params is giving "off the map" energy π
xoxo, this page is serving X Version 11 / libX11 1.8.14 energy, and the footer didn't give me a date so I'm not inventing one β stay iconic, 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