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