1XkbNoteNameChanges(3) XKB FUNCTIONS XkbNoteNameChanges(3)
2
3
4
6 XkbNoteNameChanges - Note the changed names in a changes structure
7
9 void XkbNoteNameChanges (XkbNameChangesPtr old, XkbNamesNotifyEvent
10 *new, unsigned int wanted);
11
13 old XkbNameChanges structure to be updated
14
15 new event from which changes are to be copied
16
17 wanted types of names for which changes are to be noted
18
20 When your application receives a XkbNamesNotify event, you can note the
21 changed names in a changes structure using XkbNoteNameChanges.
22
23 The wanted parameter is the bitwise inclusive OR of the valid names
24 mask bits shown in Table 1. XkbNoteNameChanges copies any changes that
25 are reported in new and specified in wanted into the changes record
26 specified by old.
27
28
29 Table 1 Symbolic Names Masks
30 ─────────────────────────────────────────────────────────────────────────────────
31 Mask Bit Value Keyboard Field
32 Component
33 ─────────────────────────────────────────────────────────────────────────────────
34 XkbKeycodesNameMask (1<<0) Xkb->names keycodes
35 XkbGeometryNameMask (1<<1) Xkb->names geometry
36 XkbSymbolsNameMask (1<<2) Xkb->names symbols
37 XkbPhysSymbolsNameMask (1<<3) Xkb->names phys_symbols
38 XkbTypesNameMask (1<<4) Xkb->names type
39 XkbCompatNameMask (1<<5) Xkb->names compat
40 XkbKeyTypeNamesMask (1<<6) Xkb->map type[*].name
41 XkbKTLevelNamesMask (1<<7) Xkb->map type[*].lvl_names[*]
42 XkbIndicatorNamesMask (1<<8) Xkb->names indicators[*]
43 XkbKeyNamesMask (1<<9) Xkb->names keys[*], num_keys
44 XkbKeyAliasesMask (1<<10) Xkb->names key_aliases[*], num_key_aliases
45 XkbVirtualModNamesMask (1<<11) Xkb->names vmods[*]
46 XkbGroupNamesMask (1<<12) Xkb->names groups[*]
47 XkbRGNamesMask (1<<13) Xkb->names radio_groups[*], num_rg
48 XkbComponentNamesMask (0x3f) Xkb->names keycodes,
49 geometry,
50 symbols,
51 physical symbols,
52 types, and
53 compatibility map
54 XkbAllNamesMask (0x3fff) Xkb->names all name components
55
56
57
58
59X Version 11 libX11 1.8.7 XkbNoteNameChanges(3)