xkbcommon 1.14.0-beta2
Reference library implementing the XKB specification for parsing keyboard descriptions and handling keyboard state
Loading...
Searching...
No Matches
Data Fields
xkb_layout_policy_update Struct Reference

#include <xkbcommon.h>

Data Fields

uint32_t size
 
uint32_t policy
 
xkb_layout_index_t redirect
 

Detailed Description

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.

Note
This struct uses a size-based versioning; see Extensible structure ABI contract for further details.
See also
enum xkb_layout_out_of_range_policy
xkb_synthetic_update::layout_policy
struct xkb_synthetic_update
xkb_machine::xkb_machine_process_synthetic()
Since
1.14.0

Field Documentation

◆ size

uint32_t xkb_layout_policy_update::size

Size of this structure in bytes.

See also
Extensible structure ABI contract
Since
1.14.0

◆ policy

uint32_t xkb_layout_policy_update::policy

Policy to use to handle out-of-range layout indices.

See also
enum xkb_layout_out_of_range_policy
Since
1.14.0

◆ redirect

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.

See also
xkb_layout_index_t
Since
1.14.0

The documentation for this struct was generated from the following file: