|
libxkbcommon 1.13.0
Library implementing the XKB specification for parsing keyboard descriptions and handling keyboard state
|
#include <xkbcommon.h>
Data Fields | |
| size_t | size |
| uint32_t | policy |
| xkb_layout_index_t | redirect |
Configures the policy used to bring out-of-range layout indices into range.
If policy is XKB_LAYOUT_OUT_OF_RANGE_REDIRECT, redirect specifies the target layout index; otherwise redirect is ignored.
memset() before setting any fields: sizeof(struct xkb_layout_policy_update). | size_t xkb_layout_policy_update::size |
Size of this structure, for forward-compatibility.
XKB_ERROR_ABI_INVALID_STRUCT_SIZE XKB_ERROR_ABI_BACKWARD_COMPAT XKB_ERROR_ABI_FORWARD_COMPAT| uint32_t xkb_layout_policy_update::policy |
Policy to use to handle out-of-range layout indices.
xkb_layout_out_of_range_policy| xkb_layout_index_t xkb_layout_policy_update::redirect |
Layout index to redirect to when policy is XKB_LAYOUT_OUT_OF_RANGE_REDIRECT.
Ignored otherwise.