docs: fix names for XkbKeyKeyType & XkbKeyKeyTypeIndex

Implementation had "Key" twice in these macro names,
but the docs had only listed it once.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
Alan Coopersmith 2023-08-20 15:11:04 -07:00
parent 7b16c55063
commit 44f908d928
5 changed files with 20 additions and 20 deletions

View file

@ -122,13 +122,13 @@ libman_PRE = \
XkbKeyGroupWidth.man \
XkbKeyGroupsWidth.man \
XkbKeyHasActions.man \
XkbKeyKeyType.man \
XkbKeyKeyTypeIndex.man \
XkbKeyNumActions.man \
XkbKeyNumGroups.man \
XkbKeyNumSyms.man \
XkbKeySymEntry.man \
XkbKeySymsPtr.man \
XkbKeyType.man \
XkbKeyTypeIndex.man \
XkbKeyTypesForCoreSymbols.man \
XkbKeycodeToKeysym.man \
XkbKeysymToModifiers.man \

View file

@ -77,6 +77,6 @@ The Xkb extension has not been properly initialized
.B BadValue
An argument is out of range
.SH "SEE ALSO"
.BR XkbKeyType (__libmansuffix__),
.BR XkbKeyTypeIndex (__libmansuffix__)
.BR XkbKeyKeyType (__libmansuffix__),
.BR XkbKeyKeyTypeIndex (__libmansuffix__)

View file

@ -20,12 +20,12 @@
.\" FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
.\" DEALINGS IN THE SOFTWARE.
.\"
.TH XkbKeyType __libmansuffix__ __xorgversion__ "XKB FUNCTIONS"
.TH XkbKeyKeyType __libmansuffix__ __xorgversion__ "XKB FUNCTIONS"
.SH NAME
XkbKeyType \- Obtain the index of a key type or the pointer to a key type
XkbKeyKeyType \- Obtain the index of a key type or the pointer to a key type
.SH SYNOPSIS
.HP
.B XkbKeyTypePtr XkbKeyType
.B XkbKeyTypePtr XkbKeyKeyType
.BI "(\^XkbDescPtr " "xkb" "\^,"
.BI "KeyCode " "keycode" "\^,"
.BI "int " "group" "\^);"
@ -43,7 +43,7 @@ keycode of interest
group index
.SH DESCRIPTION
.LP
.I XkbKeyType
.I XkbKeyKeyType
returns a pointer to the key type in the
.I types
vector of the client map in

View file

@ -20,12 +20,12 @@
.\" FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
.\" DEALINGS IN THE SOFTWARE.
.\"
.TH XkbKeyTypeIndex __libmansuffix__ __xorgversion__ "XKB FUNCTIONS"
.TH XkbKeyKeyTypeIndex __libmansuffix__ __xorgversion__ "XKB FUNCTIONS"
.SH NAME
XkbKeyTypeIndex \- Obtain the index of a key type or the pointer to a key type
XkbKeyKeyTypeIndex \- Obtain the index of a key type or the pointer to a key type
.SH SYNOPSIS
.HP
.B int XkbKeyTypeIndex
.B int XkbKeyKeyTypeIndex
.BI "(\^XkbDescPtr " "xkb" "\^,"
.BI "KeyCode " "keycode" "\^,"
.BI "int " "group" "\^);"
@ -43,7 +43,7 @@ keycode of interest
group index
.SH DESCRIPTION
.LP
.I XkbKeyTypeIndex
.I XkbKeyKeyTypeIndex
computes an index into the
.I types
vector of the client map in

View file

@ -1304,10 +1304,10 @@ currently four); if a key has fewer than
<symbol>XkbNumKbdGroups</symbol>
groups, the extra key types are reported but ignored.</para></note>
<indexterm significance="preferred" zone="XkbKeyTypeIndex"><primary><function>XkbKeyTypeIndex</function></primary></indexterm>
<funcsynopsis id="XkbKeyTypeIndex">
<indexterm significance="preferred" zone="XkbKeyKeyTypeIndex"><primary><function>XkbKeyKeyTypeIndex</function></primary></indexterm>
<funcsynopsis id="XkbKeyKeyTypeIndex">
<funcprototype>
<funcdef>int <function>XkbKeyTypeIndex</function></funcdef>
<funcdef>int <function>XkbKeyKeyTypeIndex</function></funcdef>
<!-- (
<parameter>xkb, keycode, group</parameter>
) /* macro*/ -->
@ -1351,7 +1351,7 @@ groups, the extra key types are reported but ignored.</para></note>
</variablelist>
<para>
<function>XkbKeyTypeIndex</function>
<function>XkbKeyKeyTypeIndex</function>
computes an index into the
<structfield>types</structfield>
vector of the client map in
@ -1364,10 +1364,10 @@ index.
</para>
<indexterm significance="preferred" zone="XkbKeyType"><primary><function>XkbKeyType</function></primary></indexterm>
<funcsynopsis id="XkbKeyType">
<indexterm significance="preferred" zone="XkbKeyKeyType"><primary><function>XkbKeyKeyType</function></primary></indexterm>
<funcsynopsis id="XkbKeyKeyType">
<funcprototype>
<funcdef>XkbKeyTypePtr <function>XkbKeyType</function></funcdef>
<funcdef>XkbKeyTypePtr <function>XkbKeyKeyType</function></funcdef>
<!-- (
<parameter>xkb, keycode, group</parameter>
) /* macro */ -->
@ -1411,7 +1411,7 @@ index.
</variablelist>
<para>
<function>XkbKeyType</function>
<function>XkbKeyKeyType</function>
returns a pointer to the key type in the
<structfield>types</structfield>
vector of the client map in