XkbFreeKeyboard(3)

XkbFreeKeyboard3

Destroys either an entire xkbdescrec or just some of its members

Usage

void XkbFreeKeyboard (XkbDescPtr xkb, unsigned int which, Bool free_all);

Arguments

xkb

keyboard description with components to free

which

mask selecting components to free

free_all

True => free all components and xkb

Overview

XkbFreeKeyboard frees the components of xkb specified by which and sets the corresponding values to NULL. If free_all is True, XkbFreeKeyboard frees every non-NULL component of xkb and then frees the xkb structure itself.

If kbd is NULL, no operation is performed.

Releases

10 releases since Debian 5.0 (Lenny); the text changed 9 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11
  8. 12
  9. 13
  10. Arch

From libx11 1.8.14-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.