XkbAllocGeomOverlayKeys(3)
π XkbAllocGeomOverlayKeys(3) π
manual name: XKB FUNCTIONS β we're in the XKB functions section, bestie β¨
πΈ NAME πΈ
XkbAllocGeomOverlayKeys β Allocate keys in an overlay row π
π οΈ SYNOPSIS π οΈ
Status XkbAllocGeomOverlayKeys (XkbOverlayRowPtr row, int num_needed);
π ARGUMENTS π
rowβ section for which rows should be allocated π«Άnum_neededβ number of new rows required β¨
π 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, bestie π¦.
Big important note: these functions merely allocate space for the new element(s). It is up to you to fill in the values explicitly in your code β yes, you, manually, no cap π.
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.
XkbAllocGeomOverlayKeys allocates num_needed keys and adds them to the row. No initialization of the keys is done β literally none, zero, nada π.
π¨ DIAGNOSTICS π¨
BadAllocβ Unable to allocate storage π΅βπ«BadValueβ An argument is out of range π«
k bye bestie π this page is from X Version 11, libX11 1.8.14 β catch u on the next manpage ππ¦β¨
π¦ 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