2 .\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
4 .\" Permission is hereby granted, free of charge, to any person obtaining a
5 .\" copy of this software and associated documentation files (the "Software"),
6 .\" to deal in the Software without restriction, including without limitation
7 .\" the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 .\" and/or sell copies of the Software, and to permit persons to whom the
9 .\" Software is furnished to do so, subject to the following conditions:
11 .\" The above copyright notice and this permission notice (including the next
12 .\" paragraph) shall be included in all copies or substantial portions of the
15 .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 .\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 .\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18 .\" THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 .\" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 .\" FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21 .\" DEALINGS IN THE SOFTWARE.
23 .TH XkbNoteNameChanges __libmansuffix__ __xorgversion__ "XKB FUNCTIONS"
25 XkbNoteNameChanges \- Note the changed names in a changes structure
28 .B void XkbNoteNameChanges
29 .BI "(\^XkbNameChangesPtr " "old" "\^,"
30 .BI "XkbNamesNotifyEvent *" "new" "\^,"
31 .BI "unsigned int " "wanted" "\^);"
37 XkbNameChanges structure to be updated
40 event from which changes are to be copied
43 types of names for which changes are to be noted
46 When your application receives a XkbNamesNotify event, you can note the changed
47 names in a changes structure using
48 .I XkbNoteNameChanges.
52 parameter is the bitwise inclusive OR of the valid names mask bits shown in
55 copies any changes that are reported in
59 into the changes record specified by
65 Table 1 Symbolic Names Masks
67 Mask Bit Value Keyboard Field
70 XkbKeycodesNameMask (1<<0) Xkb->names keycodes
71 XkbGeometryNameMask (1<<1) Xkb->names geometry
72 XkbSymbolsNameMask (1<<2) Xkb->names symbols
73 XkbPhysSymbolsNameMask (1<<3) Xkb->names phys_symbols
74 XkbTypesNameMask (1<<4) Xkb->names type
75 XkbCompatNameMask (1<<5) Xkb->names compat
76 XkbKeyTypeNamesMask (1<<6) Xkb->map type[*].name
77 XkbKTLevelNamesMask (1<<7) Xkb->map type[*].lvl_names[*]
78 XkbIndicatorNamesMask (1<<8) Xkb->names indicators[*]
79 XkbKeyNamesMask (1<<9) Xkb->names keys[*], num_keys
80 XkbKeyAliasesMask (1<<10) Xkb->names key_aliases[*], num_key_aliases
81 XkbVirtualModNamesMask (1<<11) Xkb->names vmods[*]
82 XkbGroupNamesMask (1<<12) Xkb->names groups[*]
83 XkbRGNamesMask (1<<13) Xkb->names radio_groups[*], num_rg
84 XkbComponentNamesMask (0x3f) Xkb->names keycodes,
90 XkbAllNamesMask (0x3fff) Xkb->names all name components