XkbAllocGeomOverlays(3)
okay bestie, welcome to the XkbAllocGeomOverlays(3) page β manual name: XKB FUNCTIONS β¨
πΈ NAME πΈ
XkbAllocGeomOverlaysβ Allocate overlays in a section π
β¨ SYNOPSIS β¨
Status XkbAllocGeomOverlays (XkbSectionPtr section, int num_needed);
π¦ ARGUMENTS π¦
sectionβ the section you want overlays allocated for π«Άnum_neededβ how many new overlays you need π
π§ DESCRIPTION π§
Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. π
Big heads-up: these functions merely allocate space for the new element(s), and itβs up to you to fill in the values explicitly in your code. π
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. β
XkbAllocGeomOverlays allocates num_needed overlays and adds them to the section. No initialization of the overlays is done. π«Ά
π DIAGNOSTICS π
BadAllocβ Unable to allocate storageBadValueβ An argument is out of range
mwah π thatβs the whole page! footer vibes: X Version 11, libX11 1.8.14, and the page name XkbAllocGeomOverlays(3). date? bestie, the footer doesnβt list one, so iβm not inventing it β periodt β¨π
π¦ 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