informaltable & table cleanup

On certain tables, add top and bottom borders to table header
and a bottom border to the table. This matches what those
tables in the old pdfs looked like.

the <?dbfo keep-together='always'> prevents tables from
splitting across pages. Useful for tiny tables.

Converting the colwidth to a floating point, IE, 1* -> 1.0*
cleans up these build errors:
WARNING: table-layout="fixed" and column-width unspecified =>
falling back to proportional-column-width(1)

Signed-off-by: Matt Dew <marcoz@osource.org>
This commit is contained in:
Matt Dew 2012-01-21 17:59:51 -07:00
parent bb551f654d
commit cadcbd376f
34 changed files with 3294 additions and 2916 deletions

File diff suppressed because it is too large Load diff

View file

@ -361,28 +361,29 @@ BadMatch</emphasis>
generated.
</para>
<table frame='none'>
<table frame='topbot'>
<!-- <caption>Function Error Returns Due to Extension Problems</caption> -->
<title>Function Error Returns Due to Extension Problems</title>
<tgroup cols='2'>
<colspec align="left" colsep="0"/>
<colspec align="left" colsep="0"/>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<thead>
<row>
<row rowsep='1'>
<entry>Functions return type</entry>
<entry>Return value</entry>
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry>pointer to a structure</entry>
<entry>NULL</entry>
</row>
<row rowsep='0'>
<row>
<entry>Bool</entry>
<entry>False</entry>
</row>
<row rowsep='0'>
<row>
<entry>Status</entry>
<entry>BadAccess</entry>
</row>

View file

@ -93,10 +93,11 @@ To determine the compatibility of a library at runtime, call <emphasis>
XkbLibraryVersion</emphasis>.
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool <emphasis>
XkbLibraryVersion</emphasis>
@ -107,14 +108,14 @@ lib_minor_in_out</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int * <emphasis>
lib_major_in_out;</emphasis>
/* specifies and returns the major Xkb library version. */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int * <emphasis>
lib_minor_in_out;</emphasis>
@ -201,10 +202,11 @@ and initializes the extension when it is present.
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool <emphasis>
XkbQueryExtension</emphasis>
@ -213,42 +215,42 @@ dpy, opcode_rtrn, event_rtrn, error_rtrn, major_in_out, minor_in_out</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
dpy; </emphasis>
/* connection to the X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int * <emphasis>
opcode_rtrn</emphasis>
; /* backfilled with the major extension opcode */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int * <emphasis>
event_rtrn</emphasis>
; /* backfilled with the extension base event code */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int * <emphasis>
error_rtrn</emphasis>
; /* backfilled with the extension base error code */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int * <emphasis>
major_in_out</emphasis>
; /* compile time lib major version in, server major version out */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int * <emphasis>
minor_in_out; </emphasis>
@ -303,10 +305,11 @@ server, and initialize the extension for use.
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Display *<emphasis>
XkbOpenDisplay</emphasis>
@ -315,7 +318,7 @@ display_name, event_rtrn, error_rtrn, major_in_out, minor_in_out,
reason_rtrn)</emphasis>
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
char * <emphasis>
display_name</emphasis>
@ -323,35 +326,35 @@ display_name</emphasis>
communications domain to be used */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int * <emphasis>
event_rtrn</emphasis>
; /* backfilled with the extension base event code */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int * <emphasis>
error_rtrn</emphasis>
; /* backfilled with the extension base error code */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int * <emphasis>
major_in_out</emphasis>
; /* compile time lib major version in, server major version out */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int * <emphasis>
minor_in_out</emphasis>
; /* compile time lib minor version in, server minor version out */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int * <emphasis>
reason_rtrn</emphasis>
@ -491,10 +494,11 @@ disable use of the extension once a connection is established.
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool<emphasis>
XkbIgnoreExtension</emphasis>
@ -503,7 +507,7 @@ ignore</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Bool <emphasis>
ignore</emphasis>
@ -557,11 +561,12 @@ requests in Xlib and the server.
Table 2.1 lists the protocol errors that can be generated, and their causes. <!-- xref -->
</para>
<table frame='none'>
<table frame='topbot'>
<title>Xkb Protocol Errors</title>
<tgroup cols='2'>
<colspec colsep='0'/>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='3.0*'/>
<thead>
<row rowsep='1'>
<entry>Error</entry>
@ -569,7 +574,7 @@ Table 2.1 lists the protocol errors that can be generated, and their causes. <!-
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry>BadAccess</entry>
<entry>
<para>
@ -577,7 +582,7 @@ The Xkb extension has not been properly initialized
</para>
</entry>
</row>
<row rowsep='0'>
<row>
<entry>BadKeyboard</entry>
<entry>
<para>
@ -585,7 +590,7 @@ The device specified was not a valid core or input extension device
</para>
</entry>
</row>
<row rowsep='0'>
<row>
<entry>BadImplementation</entry>
<entry>
<para>
@ -593,7 +598,7 @@ Invalid reply from server
</para>
</entry>
</row>
<row rowsep='0'>
<row>
<entry>BadAlloc</entry>
<entry>
<para>
@ -601,7 +606,7 @@ Unable to allocate storage
</para>
</entry>
</row>
<row rowsep='0'>
<row>
<entry>BadMatch</entry>
<entry>
<para>
@ -610,7 +615,7 @@ correct type and range, but is otherwise invalid
</para>
</entry>
</row>
<row rowsep='0'>
<row>
<entry>BadValue</entry>
<entry>
<para>
@ -618,7 +623,7 @@ An argument is out of range
</para>
</entry>
</row>
<row rowsep='0'>
<row>
<entry>BadAtom</entry>
<entry>
<para>
@ -627,7 +632,7 @@ None</emphasis>
</para>
</entry>
</row>
<row rowsep='0'>
<row>
<entry>BadDevice</entry>
<entry>
<para>
@ -660,15 +665,16 @@ significant byte will contain the device, class, or feedback ID as indicated in
the table.
</para>
<table frame='none'>
<table frame='topbot'>
<title>BadKeyboard Protocol Error resource_id Values</title>
<tgroup cols='4'>
<colspec colsep='0'/>
<colspec colsep='0'/>
<colspec colsep='0'/>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='4' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='2.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<colspec colname='c3' colwidth='3.0*'/>
<colspec colname='c4' colwidth='2.0*'/>
<thead>
<row rowsep='0'>
<row rowsep='1'>
<entry>high-order byte</entry>
<entry>value</entry>
<entry>meaning</entry>
@ -676,7 +682,7 @@ the table.
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry>XkbErr_BadDevice</entry>
<entry>0xff</entry>
<entry>
@ -686,7 +692,7 @@ device not found
</entry>
<entry>device ID</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbErr_BadClass</entry>
<entry>0xfe</entry>
<entry>
@ -696,7 +702,7 @@ device found, but it is of the wrong class
</entry>
<entry>class ID</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbErr_BadId</entry>
<entry>0xfd</entry>
<entry>

View file

@ -73,15 +73,16 @@ Xkb.h</emphasis>
event.
</para>
<table frame='none'>
<table frame='topbot'>
<title>Xkb Event Types</title>
<tgroup cols='4'>
<colspec colsep='0'/>
<colspec colsep='0'/>
<colspec colsep='0'/>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='4' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='3.0*'/>
<colspec colname='c2' colwidth='4.0*'/>
<colspec colname='c3' colwidth='1.0*'/>
<colspec colname='c4' colwidth='1.0*'/>
<thead>
<row rowsep='0'>
<row rowsep='1'>
<entry>Event Type</entry>
<entry>Conditions Generating Event</entry>
<entry>Section</entry>
@ -89,7 +90,7 @@ event.
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry>
<para><emphasis>XkbNewKeyboardNotify</emphasis></para>
</entry>
@ -103,7 +104,7 @@ event.
<para>187</para>
</entry>
</row>
<row rowsep='0'>
<row>
<entry>
<para>
<emphasis>XkbMapNotify</emphasis>
@ -119,7 +120,7 @@ event.
<para>122</para>
</entry>
</row>
<row rowsep='0'>
<row>
<entry>
<para><emphasis>XkbStateNotify</emphasis></para>
</entry>
@ -133,7 +134,7 @@ event.
<para>25</para>
</entry>
</row>
<row rowsep='0'>
<row>
<entry>
<para><emphasis>XkbControlsNotify</emphasis></para>
</entry>
@ -147,7 +148,7 @@ event.
<para>79</para>
</entry>
</row>
<row rowsep='0'>
<row>
<entry>
<para><emphasis>XkbIndicatorStateNotify</emphasis></para>
</entry>
@ -161,7 +162,7 @@ event.
<para>45</para>
</entry>
</row>
<row rowsep='0'>
<row>
<entry>
<para><emphasis>XkbIndicatorMapNotify</emphasis></para>
</entry>
@ -175,7 +176,7 @@ event.
<para>45</para>
</entry>
</row>
<row rowsep='0'>
<row>
<entry>
<para><emphasis>XkbNamesNotify</emphasis></para>
</entry>
@ -189,7 +190,7 @@ event.
<para>185</para>
</entry>
</row>
<row rowsep='0'>
<row>
<entry>
<para><emphasis>XkbCompatMapNotify</emphasis></para>
</entry>
@ -203,7 +204,7 @@ event.
<para>178</para>
</entry>
</row>
<row rowsep='0'>
<row>
<entry>
<para><emphasis>XkbBellNotify</emphasis></para>
</entry>
@ -217,7 +218,7 @@ event.
<para>52</para>
</entry>
</row>
<row rowsep='0'>
<row>
<entry>
<para><emphasis>XkbActionMessage</emphasis></para>
</entry>
@ -231,7 +232,7 @@ event.
<para>155</para>
</entry>
</row>
<row rowsep='0'>
<row>
<entry>
<para><emphasis>XkbAccessXNotify</emphasis></para>
</entry>
@ -245,7 +246,7 @@ event.
<para>65</para>
</entry>
</row>
<row rowsep='0'>
<row>
<entry>
<para><emphasis>XkbExtensionDeviceNotify</emphasis></para>
</entry>
@ -387,10 +388,11 @@ XkbSelectEvents</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool <emphasis>
XkbSelectEvents</emphasis>
@ -399,14 +401,14 @@ display, device_spec, bits_to_change, values_for_bits</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
display</emphasis>
; /* connection to the X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
device_spec</emphasis>
@ -415,14 +417,14 @@ XkbUseCoreKbd</emphasis>
*/
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned long int <emphasis>
bits_to_change; </emphasis>
/* determines events to be selected / deselected */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned long int <emphasis>
values_for_bits</emphasis>
@ -516,10 +518,11 @@ XkbSelectEvents</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool <emphasis>
XkbSelectEventDetails</emphasis>
@ -530,14 +533,14 @@ values_for_bits</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
display</emphasis>
; /* connection to the X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
device_spec</emphasis>
@ -546,21 +549,21 @@ XkbUseCoreKbd</emphasis>
*/
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
event_type</emphasis>
; /* Xkb event type of interest */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned long int <emphasis>
bits_to_change</emphasis>
; /* event selection details */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned long int <emphasis>
values_for_bits</emphasis>
@ -656,105 +659,106 @@ XkbSelectEvents</emphasis>
request and the circumstances in which the mask should be specified.
</para>
<table frame='none'>
<table frame='topbot'>
<title>XkbSelectEvents Mask Constants</title>
<tgroup cols='3'>
<colspec colsep='0'/>
<colspec colsep='0'/>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='3' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='2.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<colspec colname='c3' colwidth='2.0*'/>
<thead>
<row rowsep='0'>
<row rowsep='1'>
<entry>Event Mask</entry>
<entry>Value</entry>
<entry>Notification Wanted</entry>
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry>
<emphasis>XkbNewKeyboardNotifyMask</emphasis>
</entry>
<entry>(1L&lt;&lt;0)</entry>
<entry>Keyboard geometry change</entry>
</row>
<row rowsep='0'>
<row>
<entry>
<emphasis>XkbMapNotifyMask</emphasis>
</entry>
<entry>(1L&lt;&lt;1)</entry>
<entry>Keyboard mapping change</entry>
</row>
<row rowsep='0'>
<row>
<entry>
<para><emphasis>XkbStateNotifyMask</emphasis></para>
</entry>
<entry>(1L&lt;&lt;2)</entry>
<entry><para>Keyboard state change</para></entry>
</row>
<row rowsep='0'>
<row>
<entry>
<para><emphasis>XkbControlsNotifyMask</emphasis></para>
</entry>
<entry>(1L&lt;&lt;3)</entry>
<entry>Keyboard control change</entry>
</row>
<row rowsep='0'>
<row>
<entry>
<emphasis>XkbIndicatorStateNotifyMask</emphasis>
</entry>
<entry>(1L&lt;&lt;4)</entry>
<entry>Keyboard indicator state change</entry>
</row>
<row rowsep='0'>
<row>
<entry>
<emphasis>XkbIndicatorMapNotifyMask</emphasis>
</entry>
<entry>(1L&lt;&lt;5)</entry>
<entry>Keyboard indicator map change</entry>
</row>
<row rowsep='0'>
<row>
<entry>
<emphasis>XkbNamesNotifyMask</emphasis>
</entry>
<entry>(1L&lt;&lt;6)</entry>
<entry>Keyboard name change</entry>
</row>
<row rowsep='0'>
<row>
<entry>
<emphasis>XkbCompatMapNotifyMask</emphasis>
</entry>
<entry>(1L&lt;&lt;7)</entry>
<entry>Keyboard compat map change</entry>
</row>
<row rowsep='0'>
<row>
<entry>
<emphasis>XkbBellNotifyMask</emphasis>
</entry>
<entry>(1L&lt;&lt;8)</entry>
<entry>Bell</entry>
</row>
<row rowsep='0'>
<row>
<entry>
<emphasis>XkbActionMessageMask</emphasis>
</entry>
<entry>(1L&lt;&lt;9)</entry>
<entry>Action message</entry>
</row>
<row rowsep='0'>
<row>
<entry>
<emphasis>XkbAccessXNotifyMask</emphasis>
</entry>
<entry>(1L&lt;&lt;10)</entry>
<entry>AccessX features</entry>
</row>
<row rowsep='0'>
<row>
<entry>
<emphasis>XkbExtensionDeviceNotifyMask</emphasis>
</entry>
<entry>(1L&lt;&lt;11)</entry>
<entry>Extension device</entry>
</row>
<row rowsep='0'>
<row>
<entry>
<emphasis>XkbAllEventsMask</emphasis>
</entry>

View file

@ -308,34 +308,35 @@ affect</emphasis>
<table frame='none'>
<title>Real Modifier Masks</title>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='1'>
<row>
<entry>Mask</entry>
</row>
<row rowsep='0'>
<row>
<entry>ShiftMask</entry>
</row>
<row rowsep='0'>
<row>
<entry>LockMask</entry>
</row>
<row rowsep='0'>
<row>
<entry>ControlMask</entry>
</row>
<row rowsep='0'>
<row>
<entry>Mod1Mask</entry>
</row>
<row rowsep='0'>
<row>
<entry>Mod2Mask</entry>
</row>
<row rowsep='0'>
<row>
<entry>Mod3Mask</entry>
</row>
<row rowsep='0'>
<row>
<entry>Mod4Mask</entry>
</row>
<row rowsep='0'>
<row>
<entry>Mod5Mask</entry>
</row>
</tbody>
@ -348,10 +349,11 @@ XkbLockModifiers:</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool <emphasis> XkbLockModifiers</emphasis>
(<emphasis>
@ -359,14 +361,14 @@ display, device_spec, affect, values</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
display</emphasis>
; /* connection to the X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
device_spec</emphasis>
@ -375,14 +377,14 @@ XkbUseCoreKbd</emphasis>
*/
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int<emphasis>
affect</emphasis>
; /* mask of real modifiers whose lock state is to change */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
values</emphasis>
@ -423,10 +425,11 @@ XkbLatchModifiers:</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool <emphasis>
XkbLatchModifiers</emphasis>
@ -435,14 +438,14 @@ isplay, device_spec, affect, values</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
display</emphasis>
; /* connection to the X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
device_spec</emphasis>
@ -451,14 +454,14 @@ XkbUseCoreKbd</emphasis>
*/
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int<emphasis>
affect</emphasis>
; /* mask of modifiers whose latch state is to change */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>values</emphasis>;
/* 1 =&gt; latch, 0 =&gt; unlatch; only for mods selected by <emphasis>
@ -499,28 +502,30 @@ False</emphasis>
Reference the keysym group indices with these symbolic constants:
</para>
<table frame='none'>
<table frame='topbot'>
<title>Symbolic Group Names</title>
<tgroup cols='2'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='2.0*'/>
<tbody>
<row rowsep='0'>
<row rowsep='1'>
<entry>Symbolic Name</entry>
<entry>Value</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGroup1Index</entry>
<entry>0</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGroup2Index</entry>
<entry>1</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGroup3Index</entry>
<entry>2</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGroup4Index</entry>
<entry>3</entry>
</row>
@ -534,10 +539,11 @@ XkbLockGroup. </emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool <emphasis>
XkbLockGroup</emphasis>
@ -546,14 +552,14 @@ display, device_spec, group</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
display</emphasis>
; /* connection to the X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
device_spec</emphasis>
@ -562,7 +568,7 @@ XkbUseCoreKbd</emphasis>
*/
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
group</emphasis>
@ -593,10 +599,11 @@ XkbLatchGroup.</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool <emphasis>
XkbLatchGroup</emphasis>
@ -605,14 +612,14 @@ display, device_spec, group</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
display</emphasis>
; /* connection to the X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int<emphasis>
device_spec</emphasis>
@ -621,7 +628,7 @@ XkbUseCoreKbd</emphasis>
*/
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int<emphasis>
group</emphasis>
@ -681,10 +688,11 @@ XkbGetState.</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Status <emphasis>
XkbGetState</emphasis>
@ -697,14 +705,14 @@ state_return</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
display</emphasis>
; /* connection to the X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
device_spec</emphasis>
@ -713,7 +721,7 @@ XkbUseCoreKbd</emphasis>
*/
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbStatePtr <emphasis>
state_return</emphasis>
@ -755,74 +763,76 @@ XkbStateNotify</emphasis>
There are many different types of Xkb state changes. Xkb defines an event detail mask corresponding to each type of change. The event detail masks are listed in Table 5.3.
</para>
<table frame='none'>
<table frame='topbot'>
<title>XkbStateNotify Event Detail Masks</title>
<tgroup cols='2'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<thead>
<row rowsep='0'>
<row rowsep='1'>
<entry>Mask</entry>
<entry>Value</entry>
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry>XkbModifierStateMask</entry>
<entry>(1L &lt;&lt; 0)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbModifierBaseMask</entry>
<entry>(1L &lt;&lt; 1)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbModifierLatchMask</entry>
<entry>(1L &lt;&lt; 2)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbModifierLockMask</entry>
<entry>(1L &lt;&lt; 3)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGroupStateMask</entry>
<entry>(1L &lt;&lt; 4)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGroupBaseMask</entry>
<entry>(1L &lt;&lt; 5)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGroupLatchMask</entry>
<entry>(1L &lt;&lt; 6)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGroupLockMask</entry>
<entry>(1L &lt;&lt; 7)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbCompatStateMask</entry>
<entry>(1L &lt;&lt; 8)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGrabModsMask</entry>
<entry>(1L &lt;&lt; 9)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbCompatGrabModsMask</entry>
<entry>(1L &lt;&lt; 10)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbLookupModsMask</entry>
<entry>(1L &lt;&lt; 11)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbCompatLookupModsMask</entry>
<entry>(1L &lt;&lt; 12)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbPointerButtonMask</entry>
<entry>(1L &lt;&lt; 13)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbAllStateComponentsMask</entry>
<entry>(0x3fff)</entry>
</row>

View file

@ -77,43 +77,44 @@ XkbDescRec</emphasis>
.
</para>
<table frame='none'>
<table frame='topbot'>
<title>XkbDescRec Component References</title>
<tgroup cols='2'>
<colspec colsep='0'/>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='2.0*'/>
<thead>
<row rowsep='0'>
<row rowsep='1'>
<entry>XkbDescRec Field</entry>
<entry>For more info</entry>
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry>ctrls</entry>
<entry>Chapter 10</entry>
</row>
<row rowsep='0'>
<row>
<entry>server</entry>
<entry>Chapter 16</entry>
</row>
<row rowsep='0'>
<row>
<entry>map</entry>
<entry>Chapter 15</entry>
</row>
<row rowsep='0'>
<row>
<entry>indicators</entry>
<entry>Chapter 8</entry>
</row>
<row rowsep='0'>
<row>
<entry>names</entry>
<entry>Chapter 18</entry>
</row>
<row rowsep='0'>
<row>
<entry>compat</entry>
<entry>Chapter 17</entry>
</row>
<row rowsep='0'>
<row>
<entry>geom</entry>
<entry>Chapter 13</entry>
</row>
@ -130,56 +131,57 @@ XkbDescRec</emphasis>
are shown in Table 6.2. <!-- xref -->
</para>
<table frame='none'>
<table frame='topbot'>
<title>Mask Bits for XkbDescRec</title>
<tgroup cols='3'>
<colspec colsep='0'/>
<colspec colsep='0'/>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='3' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<colspec colname='c3' colwidth='1.0*'/>
<thead>
<row rowsep='0'>
<row rowsep='1'>
<entry>Mask Bit</entry>
<entry>XkbDescRec Field</entry>
<entry>Value</entry>
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry>XkbControlsMask</entry>
<entry>ctrls</entry>
<entry>(1L&lt;&lt;0)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbServerMapMask</entry>
<entry>server</entry>
<entry>(1L&lt;&lt;1)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbIClientMapMask</entry>
<entry>map</entry>
<entry>(1L&lt;&lt;2)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbIndicatorMapMask</entry>
<entry>indicators</entry>
<entry>(1L&lt;&lt;3)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbNamesMask</entry>
<entry>names</entry>
<entry>(1L&lt;&lt;4)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbCompatMapMask</entry>
<entry>compat</entry>
<entry>(1L&lt;&lt;5)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGeometryMask</entry>
<entry>geom</entry>
<entry>(1L&lt;&lt;6)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbAllComponentsMask</entry>
<entry>All Fields</entry>
<entry>(0x7f)</entry>
@ -202,10 +204,11 @@ XkbGetKeyboardbyName</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
XkbDescPtr <emphasis>
XkbGetKeyboard</emphasis>
@ -214,21 +217,21 @@ display, which, device_spec</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
display</emphasis>
; /* connection to X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
which</emphasis>
; /* mask indicating components to return */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int<emphasis>
device_spec</emphasis>
@ -306,10 +309,11 @@ Xmalloc</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
XkbDescRec * <emphasis>
XkbAllocKeyboard</emphasis>
@ -344,10 +348,11 @@ XkbFreeKeyboard.</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
void <emphasis>
XkbFreeKeyboard</emphasis>
@ -356,21 +361,21 @@ XkbFreeKeyboard</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
; /* keyboard description with components to free */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
which</emphasis>
; /* mask selecting components to free */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Bool <emphasis>
free_all</emphasis>

View file

@ -252,10 +252,11 @@ XkbVirtualModsToReal</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool <emphasis>
XkbVirtualModsToReal</emphasis>
@ -264,21 +265,21 @@ xkb, virtual_mask, mask_rtrn</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
; /* keyboard description for input device */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int<emphasis>
virtual_mask</emphasis>
; /* virtual modifier mask to translate */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int * <emphasis>
mask_rtrn</emphasis>

View file

@ -203,33 +203,34 @@ flags</emphasis>
and their effects are shown in Table 8.1. <!-- xref -->
</para>
<table frame='none'>
<table frame='topbot'>
<title>XkbIndicatorMapRec flags Field</title>
<tgroup cols='3'>
<colspec colsep='0'/>
<colspec colsep='0'/>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='3' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='2.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<colspec colname='c3' colwidth='3.0*'/>
<thead>
<row rowsep='0'>
<row rowsep='1'>
<entry>Value</entry>
<entry></entry>
<entry>Effect</entry>
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry>XkbIM_NoExplicit</entry>
<entry>(1L&lt;&lt;7)</entry>
<entry>Client applications cannot change the state of the indicator.</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbIM_NoAutomatic</entry>
<entry>(1L&lt;&lt;6)</entry>
<entry>Xkb does not automatically change the value of the indicator based
upon a change in the keyboard state, regardless of the values for the other
fields of the indicator map.</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbIM_LEDDrivesKB</entry>
<entry>(1L&lt;&lt;5)</entry>
<entry>A client application changing the state of the indicator causes the
@ -358,20 +359,21 @@ groups</emphasis>
is shown in Table 8.2. <!-- xref -->
</para>
<table frame='none'>
<table frame='topbot'>
<title>XkbIndicatorMapRec which_groups and groups, Keyboard Drives
Indicator</title>
<tgroup cols='2'>
<colspec colsep='0'/>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='2.0*'/>
<thead>
<row rowsep='0'>
<row rowsep='1'>
<entry>which_groups</entry>
<entry>Effect</entry>
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry>XkbIM_UseNone</entry>
<entry>
The <emphasis>
@ -379,7 +381,7 @@ groups</emphasis>
field and the current keyboard group state are ignored.
</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbIM_UseBase</entry>
<entry>
If <emphasis>
@ -390,7 +392,7 @@ groups</emphasis>
is zero, the indicator is lit whenever the base keyboard group is zero.
</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbIM_UseLatched</entry>
<entry>
If <emphasis>
@ -401,7 +403,7 @@ groups</emphasis>
is zero, the indicator is lit whenever the latched keyboard group is zero.
</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbIM_UseLocked</entry>
<entry>
The <emphasis>
@ -411,7 +413,7 @@ keyboard group matches one of the bits that are set in <emphasis>
groups</emphasis>.
</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbIM_UseEffective</entry>
<entry>
The <emphasis>
@ -437,30 +439,33 @@ XkbIM_LEDDrivesKB</emphasis>
State" column refers to the new state to which you set the indicator.
</para>
<table frame='none'>
<table frame='topbot'>
<title>XkbIndicatorMapRec which_groups and groups, Indicator Drives
Keyboard</title>
<tgroup cols='3'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='3' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='2.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<colspec colname='c3' colwidth='3.0*'/>
<thead>
<row rowsep='0'>
<row rowsep='1'>
<entry>which_groups</entry>
<entry>New State</entry>
<entry>Effect on Keyboard Group State</entry>
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry>XkbIM_UseNone </entry>
<entry>On or Off</entry>
<entry>No effect</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbIM_UseBase</entry>
<entry>On or Off</entry>
<entry>No effect</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbIM_UseLatched</entry>
<entry>On</entry>
<entry>
@ -474,7 +479,7 @@ groups</emphasis>
is empty, the keyboard group latch is changed to zero.
</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbIM_UseLatched</entry>
<entry>Off</entry>
<entry>
@ -490,7 +495,7 @@ groups</emphasis>
keyboard group.
</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbIM_UseLocked or XkbIM_UseEffective</entry>
<entry>On</entry>
<entry>
@ -501,7 +506,7 @@ changed to the lowest numbered group specified in <emphasis>
groups</emphasis>.
</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbIM_UseLocked or XkbIM_UseEffective</entry>
<entry>Off</entry>
<entry>
@ -605,23 +610,25 @@ mods</emphasis>
is shown in Table 8.4 <!-- xref -->
</para>
<table frame='none'>
<table frame='topbot'>
<title>XkbIndicatorMapRec which_mods and mods, Keyboard Drives Indicator</title>
<tgroup cols='2'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='2.0*'/>
<thead>
<row rowsep='0'>
<row rowsep='1'>
<entry>which_mods</entry>
<entry>Effect on Keyboard Modifiers</entry>
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry>XkbIM_UseNone</entry>
<entry>The mods field and the current keyboard modifier state are
ignored.</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbIM_UseBase</entry>
<entry>
The indicator is lit when any of the modifiers specified in the <emphasis>
@ -636,7 +643,7 @@ mods.vmods</emphasis>
modifiers.
</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbIM_UseLatched</entry>
<entry>
The indicator is lit when any of the modifiers specified in the <emphasis>
@ -650,7 +657,7 @@ mods.vmods</emphasis>
are zero, the indicator is lit when none of the modifier keys are latched.
</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbIM_UseLocked</entry>
<entry>
The indicator is lit when any of the modifiers specified in the <emphasis>
@ -664,7 +671,7 @@ mods.vmods</emphasis>
are zero, the indicator is lit when none of the modifier keys are locked.
</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbIM_UseEffective</entry>
<entry>
The indicator is lit when any of the modifiers specified in the <emphasis>
@ -679,7 +686,7 @@ mods.vmods</emphasis>
modifiers.
</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbIM_UseCompat</entry>
<entry>
The indicator is lit when any of the modifiers specified in the <emphasis>
@ -709,25 +716,27 @@ XkbIM_LEDDrivesKB</emphasis>
State" column refers to the new state to which you set the indicator.
</para> <!-- xref -->
<table frame='none'>
<table frame='topbot'>
<title>XkbIndicatorMapRec which_mods and mods, Indicator Drives Keyboard</title>
<tgroup cols='3'>
<colspec colsep='0'/>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='3' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='2.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<colspec colname='c3' colwidth='3.0*'/>
<thead>
<row rowsep='0'>
<row rowsep='1'>
<entry>which_mods</entry>
<entry>New State</entry>
<entry>Effect on Keyboard Modifiers</entry>
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry>XkbIM_UseNone or XkbIM_UseBase</entry>
<entry>On or Off</entry>
<entry>No Effect</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbIM_UseLatched</entry>
<entry>On</entry>
<entry>
@ -738,7 +747,7 @@ mods</emphasis>
are added to the latched modifiers.
</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbIM_UseLatched</entry>
<entry>Off</entry>
<entry>
@ -749,7 +758,7 @@ mods</emphasis>
are removed from the latched modifiers.
</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbIM_UseLocked, XkbIM_UseCompat, or XkbIM_UseEffective</entry>
<entry>On</entry>
<entry>
@ -760,7 +769,7 @@ mods</emphasis>
are added to the locked modifiers.
</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbIM_UseLocked</entry>
<entry>Off</entry>
<entry>
@ -771,7 +780,7 @@ mods</emphasis>
are removed from the locked modifiers.
</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbIM_UseCompat or XkbIM_UseEffective</entry>
<entry>Off</entry>
<entry>
@ -853,10 +862,11 @@ XkbGetIndicatorState</emphasis>.
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Status <emphasis>
XkbGetIndicatorState</emphasis>
@ -869,14 +879,14 @@ state_return</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
display</emphasis>
; /* connection to the X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
device_spec</emphasis>
@ -885,7 +895,7 @@ XkbUseCoreKbd</emphasis>
*/
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int * <emphasis>
state_return</emphasis>
@ -933,10 +943,11 @@ XkbGetIndicatorMap</emphasis>.
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Status <emphasis>
XkbGetIndicatorMap</emphasis>
@ -949,21 +960,21 @@ dpy</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
dpy</emphasis>
; /* connection to the X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
which</emphasis>
; /* mask of indicators for which maps should be returned */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
desc</emphasis>
@ -1042,10 +1053,11 @@ XkbGetNamedIndicator</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool <emphasis>
XkbGetNamedIndicator</emphasis>
@ -1066,14 +1078,14 @@ real_rtrn</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
dpy</emphasis>
; /* connection to the X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
device_spec</emphasis>
@ -1082,35 +1094,35 @@ XkbUseCoreKbd</emphasis>
*/
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Atom <emphasis>
name</emphasis>
; /* name of the indicator to be retrieved */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int * <emphasis>
ndx_rtrn</emphasis>
; /* backfilled with the index of the retrieved indicator */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Bool * <emphasis>
state_rtrn</emphasis>
; /* backfilled with the current state of the retrieved indicator */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbIndicatorMapPtr <emphasis>
map_rtrn</emphasis>
; /* backfilled with the mapping for the retrieved indicator */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Bool * <emphasis>
real_rtrn</emphasis>
@ -1325,10 +1337,11 @@ XkbSetIndicatorMap</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool<emphasis>
XkbSetIndicatorMap</emphasis>
@ -1341,21 +1354,21 @@ dpy</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
dpy</emphasis>
; /* connection to the X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
which</emphasis>
; /* mask of indicators to change */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
desc</emphasis>
@ -1413,10 +1426,11 @@ Set the indicator map for the indicator
</itemizedlist>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool<emphasis>
XkbSetNamedIndicator</emphasis>
@ -1435,14 +1449,14 @@ dpy</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
dpy</emphasis>
; /* connection to the X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
device_spec</emphasis>
@ -1451,28 +1465,28 @@ XkbUseCoreKbd</emphasis>
*/
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Atom <emphasis>
name</emphasis>
; /* name of the indicator to change */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Bool <emphasis>
change_state</emphasis>
; /* whether to change the indicator state or not */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Bool <emphasis>
state</emphasis>
; /* desired new state for the indicator */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Bool <emphasis>
create_new</emphasis>
@ -1480,7 +1494,7 @@ create_new</emphasis>
created when necessary */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbIndicatorMapPtr <emphasis>
map</emphasis>
@ -1605,10 +1619,11 @@ XkbChangeIndicators</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool <emphasis>
XkbChangeIndicators</emphasis>
@ -1617,40 +1632,40 @@ dpy, xkb, changes, state</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
dpy</emphasis>
; /* connection to the X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
; /* keyboard description from which names are to be
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
taken. */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbIndicatorChangesPtr <emphasis>
changes</emphasis>
; /* indicators to be updated on the server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
state</emphasis>
; /* new state of indicators listed in
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
<emphasis>
changes</emphasis>
@ -1818,10 +1833,11 @@ XkbNoteIndicatorChanges</emphasis>.
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
void <emphasis>
XkbNoteIndicatorChanges</emphasis>
@ -1834,21 +1850,21 @@ old</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbIndicatorChangesPtr <emphasis>
old</emphasis>
; /* XkbIndicatorChanges structure to be updated */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbIndicatorNotifyEvent * <emphasis>
new</emphasis>
; /* event from which changes are to be copied */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
wanted</emphasis>
@ -1887,10 +1903,11 @@ XkbGetIndicatorChanges</emphasis>:
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Status <emphasis>
XkbGetIndicatorChanges</emphasis>
@ -1905,28 +1922,28 @@ dpy</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
dpy</emphasis>
; /* connection to the X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
; /* keyboard description to hold the new values */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbIndicatorChangesPtr <emphasis>
changes</emphasis>
; /* indicator maps/state to be obtained from the server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int * <emphasis>
state</emphasis>
@ -1995,10 +2012,11 @@ XkbAllocIndicatorMaps.</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Status <emphasis>
XkbAllocIndicatorMaps</emphasis>
@ -2007,7 +2025,7 @@ xkb</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
@ -2049,10 +2067,11 @@ XkbFreeIndicatorMaps.</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
void <emphasis>
XkbFreeIndicatorMaps</emphasis>
@ -2061,7 +2080,7 @@ xkb</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>

View file

@ -115,75 +115,76 @@ XkbBellNotify</emphasis>
events.
</para>
<table frame='none'>
<table frame='topbot'>
<title>Predefined Bells</title>
<tgroup cols='2'>
<colspec colsep='0'/>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<thead>
<row rowsep='0'>
<row rowsep='1'>
<entry>Action</entry>
<entry>Named Bell</entry>
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry>Indicator turned on</entry>
<entry>AX_IndicatorOn</entry>
</row>
<row rowsep='0'>
<row>
<entry>Indicator turned off</entry>
<entry>AX_IndicatorOff</entry>
</row>
<row rowsep='0'>
<row>
<entry>More than one indicator changed state</entry>
<entry>AX_IndicatorChange</entry>
</row>
<row rowsep='0'>
<row>
<entry>Control turned on</entry>
<entry>AX_FeatureOn</entry>
</row>
<row rowsep='0'>
<row>
<entry>Control turned off</entry>
<entry>AX_FeatureOff</entry>
</row>
<row rowsep='0'>
<row>
<entry>More than one control changed state</entry>
<entry>AX_FeatureChange</entry>
</row>
<row rowsep='0'>
<row>
<entry>SlowKeys and BounceKeys about to be turned on or off</entry>
<entry>AX_SlowKeysWarning</entry>
</row>
<row rowsep='0'>
<row>
<entry>SlowKeys key pressed</entry>
<entry>AX_SlowKeyPress</entry>
</row>
<row rowsep='0'>
<row>
<entry>SlowKeys key accepted</entry>
<entry>AX_SlowKeyAccept</entry>
</row>
<row rowsep='0'>
<row>
<entry>SlowKeys key rejected</entry>
<entry>AX_SlowKeyReject</entry>
</row>
<row rowsep='0'>
<row>
<entry>Accepted SlowKeys key released</entry>
<entry>AX_SlowKeyRelease</entry>
</row>
<row rowsep='0'>
<row>
<entry>BounceKeys key rejected</entry>
<entry>AX_BounceKeyReject</entry>
</row>
<row rowsep='0'>
<row>
<entry>StickyKeys key latched</entry>
<entry>AX_StickyLatch</entry>
</row>
<row rowsep='0'>
<row>
<entry>StickyKeys key locked</entry>
<entry>AX_StickyLock</entry>
</row>
<row rowsep='0'>
<row>
<entry>StickyKeys key unlocked</entry>
<entry>AX_StickyUnlock</entry>
</row>
@ -266,15 +267,16 @@ XkbBellNotifyEvent</emphasis>
to be generated when a bell function is called.
</para>
<table frame='none'>
<table frame='topbot'>
<title>Bell Sounding and Bell Event Generating</title>
<tgroup cols='4'>
<colspec colsep='0'/>
<colspec colsep='0'/>
<colspec colsep='0'/>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='4' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<colspec colname='c3' colwidth='1.0*'/>
<colspec colname='c4' colwidth='1.0*'/>
<thead>
<row rowsep='0'>
<row rowsep='1'>
<entry>Function called</entry>
<entry>AudibleBell</entry>
<entry>Server sounds a bell</entry>
@ -282,49 +284,49 @@ XkbBellNotifyEvent</emphasis>
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry>XkbDeviceBell</entry>
<entry>On</entry>
<entry>Yes</entry>
<entry>Yes</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbDeviceBell</entry>
<entry>Off</entry>
<entry>No</entry>
<entry>Yes</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbBell</entry>
<entry>On</entry>
<entry>Yes</entry>
<entry>Yes</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbBell</entry>
<entry>Off</entry>
<entry>No</entry>
<entry>Yes</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbDeviceBellEvent</entry>
<entry>On or Off</entry>
<entry>No</entry>
<entry>Yes</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbBellEvent</entry>
<entry>On or Off</entry>
<entry>No</entry>
<entry>Yes</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbDeviceForceBell</entry>
<entry>On or Off</entry>
<entry>Yes</entry>
<entry>No</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbForceBell</entry>
<entry>On or Off</entry>
<entry>Yes</entry>
@ -344,10 +346,11 @@ XkbDeviceBell.</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool <emphasis>
XkbDeviceBell</emphasis>
@ -356,21 +359,21 @@ display, window, device_id, bell_class, bell_id, percent, name</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display *<emphasis>
display</emphasis>
; /* connection to the X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Window<emphasis>
window</emphasis>
; /* window for which the bell is generated, or None */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
device_spec</emphasis>
@ -379,28 +382,28 @@ XkbUseCoreKbd</emphasis>
*/
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
bell_class</emphasis>
; /* X input extension bell class of the bell to be rung */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
bell_id</emphasis>
; /* X input extension bell ID of the bell to be rung */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int <emphasis>
percent</emphasis>
; /* bell volume, from -100 to 100 inclusive */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Atom <emphasis>
name</emphasis>
@ -469,10 +472,11 @@ XkbBell.</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool <emphasis>
XkbBell</emphasis>
@ -481,28 +485,28 @@ display, window, percent, name</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
display</emphasis>
; /* connection to the X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Window<emphasis>
window</emphasis>
; /* event window, or None*/
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int<emphasis>
percent</emphasis>
; /* relative volume, which can range from -100 to 100 inclusive */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Atom<emphasis>
name</emphasis>
@ -589,10 +593,11 @@ XkbDeviceBellEvent.</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool <emphasis>
XkbDeviceBellEvent</emphasis>
@ -601,21 +606,21 @@ display, window, device_spec, bell_class, bell_id, percent, name</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
display</emphasis>
; /* connection to the X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Window <emphasis>
window</emphasis>
; /* event window, or None*/
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
device_spec</emphasis>
@ -624,28 +629,28 @@ XkbUseCoreKbd</emphasis>
*/
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
bell_class;</emphasis>
/* input extension bell class for the event */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
bell_id</emphasis>
; /* input extension bell ID for the event */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int <emphasis>
percent</emphasis>
; /* volume for the bell, which can range from -100 to 100 inclusive */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Atom <emphasis>
name</emphasis>
@ -697,10 +702,11 @@ XkbBellEvent.</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool <emphasis>
XkbBellEvent</emphasis>
@ -709,28 +715,28 @@ display, window, percent, name</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
display</emphasis>
; /* connection to the X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Window <emphasis>
window</emphasis>
; /* the event window, or None */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int <emphasis>
percent</emphasis>
; /* relative volume, which can range from -100 to 100 inclusive */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Atom <emphasis>
name</emphasis>
@ -796,10 +802,11 @@ audible bells, use <emphasis>XkbForceDeviceBell</emphasis>.
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool <emphasis>
XkbForceDeviceBell</emphasis>
@ -808,21 +815,21 @@ display, window, device_spec, bell_class, bell_id, percent</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
display</emphasis>
; /* connection to the X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Window <emphasis>
window</emphasis>
; /* event window, or None */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
device_spec</emphasis>
@ -831,21 +838,21 @@ XkbUseCoreKbd</emphasis>
*/
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
bell_class</emphasis>
; /* input extension class of the bell to be rung */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
bell_id</emphasis>
; /* input extension ID of the bell to be rung */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int <emphasis>
percent</emphasis>
@ -893,10 +900,11 @@ XkbForceBell</emphasis>.
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool <emphasis>
XkbForceBell</emphasis>
@ -904,14 +912,14 @@ XkbForceBell</emphasis>
display, percent)</emphasis>
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
display</emphasis>
; /* connection to the X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int <emphasis>
percent</emphasis>

File diff suppressed because it is too large Load diff

View file

@ -370,47 +370,48 @@ indicate which controls to manipulate. The controls are identified by the masks
defined in Table 11.1. <!-- xref -->
</para>
<table frame='none'>
<table frame='topbot'>
<title>Library Control Masks</title>
<tgroup cols='2'>
<colspec colsep='0'/>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<thead>
<row rowsep='0'>
<row rowsep='1'>
<entry>Library Control Mask</entry>
<entry>Value</entry>
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry>XkbLC_ForceLatin1Lookup</entry>
<entry>(1 &lt;&lt; 0)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbLC_ConsumeLookupMods</entry>
<entry>(1 &lt;&lt; 1)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbLC_AlwaysConsumeShiftAndLock</entry>
<entry>(1 &lt;&lt; 2)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbLC_IgnoreNewKeyboards</entry>
<entry>(1 &lt;&lt; 3)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbLC_ConsumeKeysOnComposeFail</entry>
<entry>(1 &lt;&lt; 29)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbLC_ComposeLED</entry>
<entry>(1 &lt;&lt; 30)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbLC_BeepOnComposeFail</entry>
<entry>(1 &lt;&lt; 31)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbLC_AllControls</entry>
<entry>(0xc0000007)</entry>
</row>
@ -427,10 +428,11 @@ implemented, use <emphasis>XkbXlibControlsImplemented</emphasis>.
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
unsigned int <emphasis>
XkbXlibControlsImplemented</emphasis>
@ -439,7 +441,7 @@ display</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display *<emphasis>
display</emphasis>
@ -469,10 +471,11 @@ XkbGetXlibControls</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
unsigned int <emphasis>
XkbGetXlibControls</emphasis>
@ -481,7 +484,7 @@ display</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display *<emphasis>
display</emphasis>
@ -511,10 +514,11 @@ To change the state of the Library Controls, use
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool <emphasis>
XkbSetXlibControls</emphasis>
@ -523,21 +527,21 @@ display, bits_to_change, values_for_bits</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display *<emphasis>
display</emphasis>
; /* connection to X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned long <emphasis>
bits_to_change</emphasis>
; /* selects controls to be modified */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned long <emphasis>
values_for_bits</emphasis>

View file

@ -237,10 +237,11 @@ level, use <emphasis>XkbKeycodeToKeysym</emphasis>.
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
KeySym <emphasis>
XkbKeycodeToKeysym</emphasis>
@ -249,22 +250,22 @@ dpy, kc, group, level</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * dpy; /* connection to X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
KeyCode kc; /* key of interest */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int group; /* group of interest */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int level; /* shift level of interest */
</entry>
@ -300,10 +301,11 @@ XkbKeysymToModifiers</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
unsigned<emphasis>
</emphasis>
@ -316,14 +318,14 @@ dpy</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display *<emphasis>
dpy</emphasis>
; /* connection to X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
KeySym <emphasis>
ks</emphasis>
@ -373,10 +375,11 @@ XkbLookupKeySym</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool <emphasis>
XkbLookupKeySym</emphasis>
@ -393,35 +396,35 @@ dpy</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
dpy</emphasis>
; /* connection to X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
KeyCode <emphasis>
key</emphasis>
; /* key for which symbols are to be found */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
state</emphasis>
; /* state for which symbol should be found */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int * <emphasis>
mods_rtrn</emphasis>
; /* backfilled with unconsumed modifiers */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
KeySym *<emphasis>
sym_rtrn</emphasis>
@ -475,10 +478,11 @@ XLookupString</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
int <emphasis>
XkbLookupKeyBinding</emphasis>
@ -497,42 +501,42 @@ dpy</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
dpy</emphasis>
; /* connection to server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
KeySym<emphasis>
sym</emphasis>
; /* symbol to be looked up */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
state</emphasis>
; /* state for which string is to be looked up */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
char * <emphasis>
buf</emphasis>
; /* buffer into which returned string is written */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int <emphasis>
nbytes</emphasis>
; /* size of buffer in bytes */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int * <emphasis>
extra_rtrn</emphasis>
@ -581,10 +585,11 @@ XkbTranslateKeySym</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
int <emphasis>
XkbTranslateKeySym</emphasis>
@ -603,21 +608,21 @@ extra_rtrn</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
dpy</emphasis>
; /* connection to X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
KeySym * <emphasis>
sym_inout</emphasis>
; /* symbol to be translated; result of translation */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
mods</emphasis>
@ -626,21 +631,21 @@ sym_inout</emphasis>
*/
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
char * <emphasis>
buf</emphasis>
; /* buffer into which returned string is written */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int <emphasis>
nbytes</emphasis>
; /* size of buffer in bytes */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int *<emphasis>
extra_rtrn</emphasis>
@ -685,10 +690,11 @@ XkbRefreshKeyboardMapping</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Status <emphasis>
XkbRefreshKeyboardMapping</emphasis>
@ -696,7 +702,7 @@ XkbRefreshKeyboardMapping</emphasis>
event)</emphasis>
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbMapNotifyEvent * <emphasis>
event</emphasis>
@ -749,10 +755,11 @@ XkbTranslateKeyCode</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Booll <emphasis>
XkbTranslateKeyCode</emphasis>
@ -760,21 +767,21 @@ XkbTranslateKeyCode</emphasis>
xkb, key, mods, mods_rtrn, keysym_rtrn)</emphasis>
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
; /* keyboard description to use for translation */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
KeyCode <emphasis>
key</emphasis>
; /* keycode to translate */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
mods</emphasis>
@ -783,14 +790,14 @@ key</emphasis>
*/
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int * <emphasis>
mods_rtrn</emphasis>
; /* backfilled with unconsumed modifiers */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
KeySym * <emphasis>
keysym_rtrn</emphasis>

File diff suppressed because it is too large Load diff

View file

@ -249,10 +249,11 @@ XkbGetMap</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
XkbDescPtr <emphasis>
XkbGetMap</emphasis>
@ -261,21 +262,21 @@ display, which, device_spec</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
display</emphasis>
; /* connection to X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
which</emphasis>
; /* mask selecting subcomponents to populate */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
device_spec</emphasis>
@ -354,12 +355,18 @@ column in Table 14.1. Refer to the sections listed in the table for more
information on these functions.
</para>
<table frame='none'>
<table frame='topbot'>
<title>Xkb Mapping Component Masks and Convenience Functions</title>
<tgroup cols='6'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='6' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='3.0*'/>
<colspec colname='c2' colwidth='0.9*'/>
<colspec colname='c3' colwidth='0.9*'/>
<colspec colname='c4' colwidth='1.6*'/>
<colspec colname='c5' colwidth='2.1*'/>
<colspec colname='c6' colwidth='0.9*'/>
<thead>
<row rowsep='0'>
<row rowsep='1'>
<entry>Mask</entry>
<entry>Value</entry>
<entry>Map</entry>
@ -369,7 +376,7 @@ information on these functions.
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry><emphasis>XkbKeyTypesMask</emphasis></entry>
<entry>(1&lt;&lt;0)</entry>
<entry>client</entry>
@ -386,7 +393,7 @@ information on these functions.
</entry>
<entry>15.2</entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>XkbKeySymsMask</emphasis></entry>
<entry>(1&lt;&lt;1)</entry>
<entry>client</entry>
@ -399,27 +406,27 @@ information on these functions.
<entry>
<para><emphasis>XkbGetKeySyms</emphasis></para>
<para><emphasis>XkbResizeKeySyms</emphasis></para>
<para><emphasis>XkbChangeTypesOfKey</emphasis></para>
<para><emphasis>XkbChangeTypes&#xAD;OfKey</emphasis></para>
</entry>
<entry>15.3</entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>XkbModifierMapMask</emphasis></entry>
<entry>(1&lt;&lt;2)</entry>
<entry>client</entry>
<entry><emphasis>modmap</emphasis></entry>
<entry><emphasis>XkbGetKeyModifierMap</emphasis></entry>
<entry><emphasis>XkbGetKeyModifier&#xAD;Map</emphasis></entry>
<entry>15.4</entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>XkbExplicitComponentsMask</emphasis></entry>
<entry>(1&lt;&lt;3)</entry>
<entry>server</entry>
<entry><emphasis>explicit</emphasis></entry>
<entry><emphasis>XkbGetKeyExplicitComponents</emphasis></entry>
<entry><emphasis>XkbGetKeyExplicit&#xAD;Components</emphasis></entry>
<entry>16.3</entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>XkbKeyActionsMask</emphasis></entry>
<entry>(1&lt;&lt;4)</entry>
<entry>server</entry>
@ -431,19 +438,19 @@ information on these functions.
</entry>
<entry>
<para><emphasis>XkbGetKeyActions</emphasis></para>
<para><emphasis>XkbResizeKeyActions</emphasis></para>
<para><emphasis>XkbResizeKey&#xAD;Actions</emphasis></para>
</entry>
<entry>16.1</entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>XkbKeyBehaviorsMask</emphasis></entry>
<entry>(1&lt;&lt;5)</entry>
<entry>server</entry>
<entry><emphasis>behaviors</emphasis></entry>
<entry><emphasis>XkbGetKeyBehaviors</emphasis></entry>
<entry><emphasis>XkbGetKey&#xAD;Behaviors</emphasis></entry>
<entry>16.2</entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>XkbVirtualModsMask</emphasis></entry>
<entry>(1&lt;&lt;6)</entry>
<entry>server</entry>
@ -451,12 +458,12 @@ information on these functions.
<entry><emphasis>XkbGetVirtualMods</emphasis></entry>
<entry>16.4</entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>XkbVirtualModMapMask</emphasis></entry>
<entry>(1&lt;&lt;7)</entry>
<entry>server</entry>
<entry><emphasis>vmodmap</emphasis></entry>
<entry><emphasis>XkbGetVirtualModMap</emphasis></entry>
<entry><emphasis>XkbGetVirtualMod&#xAD;Map</emphasis></entry>
<entry>16.4</entry>
</row>
</tbody>
@ -491,10 +498,11 @@ description, use <emphasis>XkbGetUpdatedMap</emphasis>.
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Status <emphasis>
XkbGetUpdatedMap</emphasis>
@ -503,21 +511,21 @@ display, which, xkb</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
display</emphasis>
; /* connection to X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int<emphasis>
which</emphasis>
; /* mask selecting subcomponents to populate */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
@ -585,10 +593,11 @@ an<emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool <emphasis>
XkbSetMap</emphasis>
@ -601,21 +610,21 @@ dpy</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display *<emphasis>
dpy</emphasis>
; /* connection to X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int<emphasis>
which</emphasis>
; /* mask selecting subcomponents to update */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
@ -751,19 +760,22 @@ XkbMapChangesRec</emphasis>
.
</para>
<table frame='none'>
<table frame='topbot'>
<title>XkbMapChangesRec Masks</title>
<tgroup cols='3'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='3' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<colspec colname='c3' colwidth='1.0*'/>
<thead>
<row rowsep='0'>
<row rowsep='1'>
<entry>Mask</entry>
<entry>Valid XkbMapChangesRec Fields</entry>
<entry>XkbDescRec Field Containing Changed Data</entry>
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry><emphasis>XkbKeyTypesMask</emphasis></entry>
<entry>
<para>first_type</para>,
@ -774,7 +786,7 @@ XkbMapChangesRec</emphasis>
<para>map-&gt;type[first_type + num_types - 1]</para>
</entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>XkbKeySymsMask</emphasis></entry>
<entry>
<para>first_key_sym</para>,
@ -785,7 +797,7 @@ XkbMapChangesRec</emphasis>
<para>map-&gt;key_sym_map[first_key_sym + num_key_syms - 1]</para>
</entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>XkbModifierMapMask</emphasis></entry>
<entry>
<para>first_modmap_key</para>,
@ -796,7 +808,7 @@ XkbMapChangesRec</emphasis>
<para>map-&gt;modmap[first_modmap_key + num_modmap_keys-1]</para>
</entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>XkbExplicitComponentsMask</emphasis></entry>
<entry>
<para>first_key_explicit</para>,
@ -807,7 +819,7 @@ XkbMapChangesRec</emphasis>
<para>server-&gt;explicit[first_key_explicit + num_key_explicit - 1]</para>
</entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>XkbKeyActionsMask</emphasis></entry>
<entry>
<para>first_key_act,</para>
@ -818,7 +830,7 @@ XkbMapChangesRec</emphasis>
<para>server-&gt;key_acts[first_key_act + num_key_acts - 1]</para>
</entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>XkbKeyBehaviorsMask</emphasis></entry>
<entry>
<para>first_key_behavior,</para>
@ -829,12 +841,12 @@ XkbMapChangesRec</emphasis>
<para>server-&gt;behaviors[first_key_behavior + num_key_behaviors - 1]</para>
</entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>XkbVirtuawModsMask</emphasis></entry>
<entry>vmods</entry>
<entry>server-&gt;vmods[*]</entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>XkbVirtualModMapMask</emphasis></entry>
<entry>
<para>first_vmodmap_key,</para>
@ -860,10 +872,11 @@ XkbMapChangesRec</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool <emphasis>
XkbChangeMap</emphasis>
@ -876,21 +889,21 @@ dpy</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display *<emphasis>
dpy</emphasis>
; /* connection to X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
; /* description from which new values are taken */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbMapChangesPtr <emphasis>
changes</emphasis>
@ -1092,10 +1105,11 @@ XkbAllocClientMap.</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Status <emphasis>
XkbAllocClientMap</emphasis>
@ -1104,21 +1118,21 @@ xkb, which, type_count</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
; /* keyboard description in which to allocate client map */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int<emphasis>
which</emphasis>
; /* mask selecting map components to allocate */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int<emphasis>
type_count</emphasis>
@ -1145,18 +1159,20 @@ allocate and is a mask composed by a bitwise inclusive OR of one or more of the
masks shown in Table 14.3.
</para>
<table frame='none'>
<table frame='topbot'>
<title>XkbAllocClientMap Masks</title>
<tgroup cols='2'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='2.0*'/>
<thead>
<row rowsep='0'>
<row rowsep='1'>
<entry>Mask</entry>
<entry>Effect</entry>
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry>XkbKeyTypesMask</entry>
<entry>
The <emphasis>
@ -1171,7 +1187,7 @@ XkbNumRequiredTypes</emphasis>
BadValue</emphasis>.
</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbKeySymsMask</entry>
<entry>
The <emphasis>
@ -1192,7 +1208,7 @@ min_key_code</emphasis>
+ 1 keys.
</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbModifierMapMask</entry>
<entry>
The <emphasis>
@ -1282,10 +1298,11 @@ XkbFreeClientMap.</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
void <emphasis>
XkbFreeClientMap</emphasis>
@ -1294,21 +1311,21 @@ xkb, which, free_all</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
; /* keyboard description containing client map to free */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int<emphasis>
which</emphasis>
; /* mask identifying components of map to free */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Bool <emphasis>
free_all</emphasis>
@ -1373,10 +1390,11 @@ XkbAllocServerMap.</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Status <emphasis>
XkbAllocServerMap</emphasis>
@ -1385,21 +1403,21 @@ xkb, which, count_acts</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
; /* keyboard description in which to allocate server map */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int<emphasis>
which</emphasis>
; /* mask selecting map components to allocate */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int<emphasis>
count_acts</emphasis>
@ -1425,18 +1443,20 @@ which</emphasis>
allocate, as specified in Table 14.4.
</para>
<table frame='none'>
<table frame='topbot'>
<title>XkbAllocServerMap Masks</title>
<tgroup cols='2'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='2.0*'/>
<thead>
<row rowsep='0'>
<row rowsep='1'>
<entry>Mask</entry>
<entry>Effect</entry>
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry>XkbExplicitComponentsMask</entry>
<entry>
The <emphasis>
@ -1450,7 +1470,7 @@ explicit </emphasis>
field of the server map.
</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbKeyActionsMask</entry>
<entry>
The <emphasis>
@ -1468,7 +1488,7 @@ acts</emphasis>
field of the server map.
</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbKeyBehaviorsMask</entry>
<entry>
The <emphasis>
@ -1482,7 +1502,7 @@ behaviors </emphasis>
field of the server map.
</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbVirtualModMapMask</entry>
<entry>
The <emphasis>
@ -1559,10 +1579,11 @@ XkbFreeServerMap.</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
void <emphasis>
XkbFreeServerMap</emphasis>
@ -1571,21 +1592,21 @@ xkb, which, free_all</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
; /* keyboard description containing server map to free */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int<emphasis>
which</emphasis>
; /* mask identifying components of map to free */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Bool <emphasis>
free_all</emphasis>

View file

@ -238,79 +238,80 @@ keyboard mappings in the server database is not specified by the Xkb extension,
although this format is one possible example):
</para>
<table frame='none'>
<table frame='topbot'>
<title>Example Key Type</title>
<tgroup cols='2'>
<colspec colsep='0'/>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<thead>
<row rowsep='0'>
<row rowsep='1'>
<entry>Symbolic Description</entry>
<entry>Key Type Data Structure</entry>
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry>type "ALPHATHREE" {</entry>
<entry>Xkb-&gt;map-&gt;types[i].name</entry>
</row>
<row rowsep='0'>
<row>
<entry>modifiers = Shift+Lock+LevelThree;</entry>
<entry>Xkb-&gt;map-&gt;types[i].mods</entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>map[None]= Level1;</emphasis></entry>
<entry>Xkb-&gt;map-&gt;types[i].map[0]</entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>map[Lock]= Level1;</emphasis></entry>
<entry>Xkb-&gt;map-&gt;types[i].map[1]</entry>
</row>
<row rowsep='0'>
<row>
<entry>map[Shift]= Level2;</entry>
<entry>Xkb-&gt;map-&gt;types[i].map[2]</entry>
</row>
<row rowsep='0'>
<row>
<entry>map[LevelThree]= Level3;</entry>
<entry>Xkb-&gt;map-&gt;types[i].map[3]</entry>
</row>
<row rowsep='0'>
<row>
<entry>map[Shift+LevelThree]= Level3;</entry>
<entry>Xkb-&gt;map-&gt;types[i].map[4]</entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>preserve[None]= None;</emphasis></entry>
<entry>Xkb-&gt;map-&gt;types[i].perserve[0]</entry>
</row>
<row rowsep='0'>
<row>
<entry>preserve[Lock]= Lock;</entry>
<entry>Xkb-&gt;map-&gt;types[i].preserve[1]</entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>preserve[Shift]= None;</emphasis></entry>
<entry>Xkb-&gt;map-&gt;types[i].preserve[2]</entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>preserve[LevelThree]= None;</emphasis></entry>
<entry>Xkb-&gt;map-&gt;types[i].preserve[3]</entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>preserve[Shift+Level3]= None;</emphasis> </entry>
<entry>Xkb-&gt;map-&gt;types[i].preserve[4]</entry>
</row>
<row rowsep='0'>
<row>
<entry>level_name[Level1]= "Base";</entry>
<entry>Xkb-&gt;map-&gt;types[i].level_names[0]</entry>
</row>
<row rowsep='0'>
<row>
<entry>level_name[Level2]= "Caps";</entry>
<entry>Xkb-&gt;map-&gt;types[i].level_names[1]</entry>
</row>
<row rowsep='0'>
<row>
<entry>level_name[Level3]= "Level3";</entry>
<entry>Xkb-&gt;map-&gt;types[i].level_names[2]</entry>
</row>
<row rowsep='0'>
<row>
<entry>};</entry>
<entry></entry>
</row>
@ -645,10 +646,11 @@ XkbInitCanonicalKeyTypes.</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Status <emphasis>
XkbInitCanonicalKeyTypes</emphasis>
@ -657,21 +659,21 @@ xkb, which, keypadVMod</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
; /* keyboard description containing client map to initialize */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
which</emphasis>
; /* mask of types to initialize */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int <emphasis>
keypadVMod</emphasis>
@ -751,10 +753,11 @@ XkbGetKeyTypes</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Status <emphasis>
XkbGetKeyTypes</emphasis>
@ -769,28 +772,28 @@ dpy</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display *<emphasis>
dpy</emphasis>
; /* connection to X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int<emphasis>
first</emphasis>
; /* index to first type to get, 0 =&gt; 1st type */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
num</emphasis>
; /* number of key types to be returned */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
@ -844,10 +847,11 @@ XkbResizeKeyType</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Status <emphasis>
XkbResizeKeyType</emphasis>
@ -864,28 +868,28 @@ xkb</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr<emphasis>
xkb</emphasis>
; /* keyboard description containing client map to update */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int <emphasis>
type_ndx</emphasis>
; /* index in xkb-&gt;map-&gt;types of type to change */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int <emphasis>
map_count</emphasis>
; /* total # of map entries needed for the type */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Bool <emphasis>
want_preserve</emphasis>
@ -894,7 +898,7 @@ True</emphasis>
=&gt; list of preserved modifiers is necessary */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int <emphasis>
new_num_lvls</emphasis>
@ -1018,10 +1022,11 @@ XkbKeyTypeRec</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Status <emphasis>
XkbCopyKeyType</emphasis>
@ -1032,14 +1037,14 @@ from</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbKeyTypePtr <emphasis>
from</emphasis>
; /* pointer to XkbKeyTypeRec to be copied */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbKeyTypePtr <emphasis>
into</emphasis>
@ -1094,10 +1099,11 @@ Success</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Status <emphasis>
XkbCopyKeyTypes</emphasis>
@ -1110,21 +1116,21 @@ num_types</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbKeyTypePtr <emphasis>
from</emphasis>
; /* pointer to array of XkbKeyTypeRecs to copy */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbKeyTypePtr <emphasis>
into</emphasis>
; /* pointer to array of XkbKeyTypeRecs to change */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int <emphasis>
num_types</emphasis>
@ -1286,10 +1292,11 @@ XkbNumKbdGroups</emphasis>
groups, the extra key types are reported but ignored.</para></note>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
int <emphasis>
XkbKeyTypeIndex</emphasis>
@ -1298,21 +1305,21 @@ xkb, keycode, group</emphasis>
) /* macro*/
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
; /* Xkb description of interest */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
KeyCode <emphasis>
keycode</emphasis>
; /* keycode of interest */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int <emphasis>
group</emphasis>
@ -1339,10 +1346,11 @@ group</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
XkbKeyTypePtr <emphasis>
XkbKeyType</emphasis>
@ -1351,21 +1359,21 @@ xkb, keycode, group</emphasis>
) /* macro */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
; /* Xkb description of interest */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
KeyCode <emphasis>
keycode</emphasis>
; /* keycode of interest */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int <emphasis>
group</emphasis>
@ -1453,27 +1461,28 @@ group_info</emphasis>
normalization methods in this table.
</para>
<table frame='none'>
<table frame='topbot'>
<title>group_info Range Normalization</title>
<tgroup cols='2'>
<colspec colsep='0'/>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<thead>
<row rowsep='0'>
<row rowsep='1'>
<entry>Bits set in group_info</entry>
<entry>Normalization method</entry>
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry>XkbRedirectIntoRange</entry>
<entry>XkbRedirectIntoRange</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbClampIntoRange</entry>
<entry>XkbClampIntoRange</entry>
</row>
<row rowsep='0'>
<row>
<entry>none of the above</entry>
<entry>XkbWrapIntoRange</entry>
</row>
@ -1486,10 +1495,11 @@ Xkb provides the following macros to access group information:
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
int <emphasis>
XkbKeyNumGroups</emphasis>
@ -1498,14 +1508,14 @@ xkb, keycode</emphasis>
) /* macro */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
; /* Xkb description of interest */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
KeyCode <emphasis>
keycode</emphasis>
@ -1527,10 +1537,11 @@ keycode</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
unsigned char <emphasis>
XkbKeyGroupInfo</emphasis>
@ -1539,14 +1550,14 @@ xkb, keycode</emphasis>
) /*macro */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
; /* Xkb description of interest */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
KeyCode <emphasis>
keycode</emphasis>
@ -1571,10 +1582,11 @@ keycode</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
unsigned char <emphasis>
XkbOutOfRangeGroupInfo</emphasis>
@ -1583,7 +1595,7 @@ grp_inf</emphasis>
) /* macro */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned char <emphasis>
grp_inf</emphasis>
@ -1608,10 +1620,11 @@ XkbSymMapRec</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
unsigned char <emphasis>
XkbOutOfRangeGroupNumber</emphasis>
@ -1620,7 +1633,7 @@ grp_inf</emphasis>
) /* macro */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned char <emphasis>
grp_inf</emphasis>
@ -1703,10 +1716,11 @@ of symbols bound to the key:
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
int <emphasis>
XkbKeyGroupsWidth</emphasis>
@ -1715,14 +1729,14 @@ xkb, keycode</emphasis>
) /* macro */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
; /* Xkb description of interest */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
KeyCode <emphasis>
keycode</emphasis>
@ -1743,10 +1757,11 @@ keycode</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
int <emphasis>
XkbKeyGroupWidth</emphasis>
@ -1755,21 +1770,21 @@ xkb, keycode, grp</emphasis>
) /* macro */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
; /* Xkb description of interest */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
KeyCode <emphasis>
keycode</emphasis>
; /* keycode of interest */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int <emphasis>
grp</emphasis>
@ -1792,10 +1807,11 @@ keycode</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
int <emphasis>
XkbKeySymsOffset</emphasis>
@ -1804,14 +1820,14 @@ xkb, keycode</emphasis>
) /* macro */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
; /* Xkb description of interest */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
KeyCode <emphasis>
keycode</emphasis>
@ -1833,10 +1849,11 @@ keycode</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
int <emphasis>
XkbKeyNumSyms</emphasis>
@ -1845,14 +1862,14 @@ xkb, keycode</emphasis>
) /* macro */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
; /* Xkb description of interest */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
KeyCode <emphasis>
keycode</emphasis>
@ -1873,10 +1890,11 @@ keycode</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
KeySym * <emphasis>
XkbKeySymsPtr</emphasis>
@ -1885,14 +1903,14 @@ xkb, keycode</emphasis>
) /* macro */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
; /* Xkb description of interest */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
KeyCode <emphasis>
keycode</emphasis>
@ -1914,10 +1932,11 @@ keycode</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
KeySym <emphasis>
XkbKeySymEntry</emphasis>
@ -1926,28 +1945,28 @@ xkb, keycode, shift, grp</emphasis>
) /* macro */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
; /* Xkb description of interest */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
KeyCode <emphasis>
keycode</emphasis>
; /* keycode of interest */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int <emphasis>
shift</emphasis>
; /* shift level of interest */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int <emphasis>
grp</emphasis>
@ -1985,10 +2004,11 @@ XkbGetKeySyms</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Status <emphasis>
XkbGetKeySyms</emphasis>
@ -2003,28 +2023,28 @@ num</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display *<emphasis>
dpy</emphasis>
; /* connection to X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int<emphasis>
first</emphasis>
; /* keycode of first key to get */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
num</emphasis>
; /* number of keycodes for which syms desired */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
@ -2119,38 +2139,39 @@ xkb</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
; /* keyboard description to be changed */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int <emphasis>
key</emphasis>
; /* keycode for key of interest */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int <emphasis>
n_groups</emphasis>
; /* new number of groups for key */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
groups</emphasis>
; /* mask indicating groups to change */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int * <emphasis>
new_types_in</emphasis>
@ -2159,7 +2180,7 @@ groups</emphasis>
*/
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbMapChangesPtr <emphasis>
p_changes</emphasis>
@ -2265,31 +2286,32 @@ For convenience, Xkb provides the following constants to use as indices to the
groups:
</para>
<table frame='none'>
<table frame='topbot'>
<title>Group Index Constants</title>
<tgroup cols='2'>
<colspec colsep='0'/>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<thead>
<row rowsep='0'>
<row rowsep='1'>
<entry>Constant Name</entry>
<entry>Value</entry>
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry>XkbGroup1Index</entry>
<entry>0</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGroup2Index</entry>
<entry>1</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGroup3Index</entry>
<entry>2</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGroup4Index</entry>
<entry>3</entry>
</row>
@ -2342,10 +2364,11 @@ XkbResizeKeySyms</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
KeySym *<emphasis>
XkbResizeKeySyms</emphasis>
@ -2358,21 +2381,21 @@ xkb</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescRec *<emphasis>
xkb</emphasis>
; /* keyboard description to be changed */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int <emphasis>
key</emphasis>
; /* keycode for key to modify */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int <emphasis>
needed</emphasis>
@ -2507,10 +2530,11 @@ XkbGetKeyModifierMap</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Status <emphasis>
XkbGetKeyModifierMap</emphasis>
@ -2525,28 +2549,28 @@ dpy</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display *<emphasis>
dpy</emphasis>
; /* connection to X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
first</emphasis>
; /* keycode of first key to get */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
num</emphasis>
; /* number of keys for which information is desired */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>

File diff suppressed because it is too large Load diff

View file

@ -205,30 +205,31 @@ ButtonPress</emphasis>
event, encoded as follows:
</para>
<informaltable frame='none'>
<tgroup cols='2'>
<colspec colsep='0'/>
<colspec colsep='0'/>
<informaltable frame='topbot'>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c1' colwidth='2.0*'/>
<thead>
<row rowsep='0'>
<row rowsep='1'>
<entry>bits</entry>
<entry>meaning</entry>
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry>15</entry>
<entry>0</entry>
</row>
<row rowsep='0'>
<row>
<entry>13-14</entry>
<entry>Group index</entry>
</row>
<row rowsep='0'>
<row>
<entry>8-12</entry>
<entry>Pointer Buttons</entry>
</row>
<row rowsep='0'>
<row>
<entry>0-7</entry>
<entry>Modifiers</entry>
</row>
@ -470,10 +471,13 @@ modifiers specified in <emphasis>mods</emphasis>
are to be interpreted.
</para>
<table frame='none'>
<table frame='topbot'>
<title>Symbol Interpretation Match Criteria</title>
<tgroup cols='3'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='3' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='2.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<colspec colname='c3' colwidth='3.0*'/>
<thead>
<row rowsep='1'>
<entry>Match Criteria</entry>
@ -482,7 +486,7 @@ are to be interpreted.
</row>
</thead>
<tbody>
<row rowsep='1'>
<row>
<entry><emphasis>XkbSI_NoneOf</emphasis></entry>
<entry>(0)</entry>
<entry>
@ -490,7 +494,7 @@ None of the bits that are on in <emphasis>mods</emphasis>
can be set, but other bits can be.
</entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>XkbSI_AnyOfOrNone</emphasis></entry>
<entry>(1)</entry>
<entry>
@ -499,7 +503,7 @@ mods</emphasis>
can be set, as well as others.
</entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>XkbSI_AnyOf</emphasis></entry>
<entry>(2)</entry>
<entry>
@ -508,7 +512,7 @@ mods</emphasis>
can be set, as well as any others.
</entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>XkbSI_AllOf</emphasis></entry>
<entry>(3)</entry>
<entry>
@ -517,7 +521,7 @@ mods</emphasis>
must be set, but others may be set as well.
</entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>XkbSI_Exactly</emphasis></entry>
<entry>(4)</entry>
<entry>
@ -559,31 +563,32 @@ interpretation where:
</para>
<informaltable frame='none'>
<tgroup cols='2'>
<colspec colsep='0'/>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c1' colwidth='3.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry><emphasis>sym</emphasis> =</entry>
<entry>0</entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>flags</emphasis> =</entry>
<entry><emphasis>XkbSI_AutoRepeat</emphasis></entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>match</emphasis> =</entry>
<entry><emphasis>XkbSI_AnyOfOrNone</emphasis></entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>mods</emphasis> =</entry>
<entry>0</entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>virtual_mod</emphasis> =</entry>
<entry><emphasis>XkbNoModifier</emphasis></entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>act</emphasis> =</entry>
<entry><emphasis>SA_NoAction</emphasis></entry>
@ -756,10 +761,11 @@ compatibility map may be used to reconfigure other servers.
explicit override components of the server state.</para></note>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Status <emphasis>
XkbGetCompatMap</emphasis>
@ -768,21 +774,21 @@ display, which, xkb</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
display</emphasis>
; /* connection to server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int<emphasis>
which</emphasis>
; /* mask of compatibility map components to fetch */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescRec * <emphasis>
xkb</emphasis>
@ -809,29 +815,32 @@ which</emphasis>
are an inclusive OR of the values shown in Table 17.2.
</para>
<table frame='none'>
<table frame='topbot'>
<title>Compatibility Map Component Masks</title>
<tgroup cols='3'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='3' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.5*'/>
<colspec colname='c2' colwidth='1.0*'/>
<colspec colname='c3' colwidth='2.0*'/>
<thead>
<row rowsep='0'>
<row rowsep='1'>
<entry>Mask</entry>
<entry>Value</entry>
<entry>Affecting</entry>
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry><emphasis>XkbSymInterpMask</emphasis></entry>
<entry>(1&lt;&lt;0)</entry>
<entry>Symbol interpretations</entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>XkbGroupCompatMask</emphasis></entry>
<entry>(1&lt;&lt;1)</entry>
<entry>Group maps</entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>XkbAllCompatMask</emphasis></entry>
<entry>(0x3)</entry>
<entry>All compatibility map components</entry>
@ -903,10 +912,11 @@ XkbUpdateMapFromCore</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool <emphasis>
XkbUpdateMapFromCore</emphasis>
@ -925,42 +935,42 @@ xkb</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
; /* keyboard description to update */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
KeyCode <emphasis>
first_key</emphasis>
; /* keycode of first key description to update */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int <emphasis>
num_keys</emphasis>
; /* number of key descriptions to update */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int <emphasis>
map_width</emphasis>
; /* width of core protocol keymap */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
KeySym *<emphasis>
core_keysyms</emphasis>
; /* symbols in core protocol keymap */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbChangesPtr <emphasis>
changes</emphasis>
@ -1044,10 +1054,11 @@ XkbKeyTypesForCoreSymbols</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
int <emphasis>
XkbKeyTypesForCoreSymbols</emphasis>
@ -1060,14 +1071,14 @@ map_width</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr<emphasis>
xkb</emphasis>
; /* keyboard description in which to place symbols*/
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int<emphasis>
map_width</emphasis>
@ -1076,21 +1087,21 @@ xkb_syms_rtrn</emphasis>
*/
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
KeySym *<emphasis>
core_syms</emphasis>
; /* core protocol format array of KeySyms */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
protected</emphasis>
; /* explicit key types */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int *<emphasis>
types_inout;</emphasis>
@ -1098,7 +1109,7 @@ int *<emphasis>
for the key */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
KeySym * <emphasis>
xkb_syms_rtrn</emphasis>
@ -1190,10 +1201,11 @@ XkbApplyCompatMapToKey</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool <emphasis>
XkbApplyCompatMapToKey</emphasis>
@ -1206,21 +1218,21 @@ xkb</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr<emphasis>
xkb; </emphasis>
/* keyboard description to be updated */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
KeyCode<emphasis>
key</emphasis>
; /* key to be updated */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbChangesPtr<emphasis>
changes</emphasis>
@ -1264,10 +1276,11 @@ XkbSymInterpretRec</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool <emphasis>
XkbSetCompatMap</emphasis>
@ -1276,28 +1289,28 @@ display, which, xkb, update_actions</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
display</emphasis>
; /* connection to server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int<emphasis>
which</emphasis>
; /* mask of compat map components to set */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
; /* source for compat map components */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Bool <emphasis>
update_actions</emphasis>
@ -1380,10 +1393,11 @@ XkbAddSymInterpret</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
XkbSymInterpretPtr <emphasis>
XkbAddSymInterpret</emphasis>
@ -1392,21 +1406,21 @@ xkb, si, updateMap, changes</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr<emphasis>
xkb</emphasis>
; /* keyboard description to be updated */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbSymInterpretPtr<emphasis>
si</emphasis>
; /* symbol interpretation to be added */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Bool<emphasis>
updateMap</emphasis>
@ -1415,7 +1429,7 @@ True</emphasis>
=&gt;apply compatibility map to keys */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbChangesPtr<emphasis>
changes</emphasis>
@ -1597,10 +1611,11 @@ XkbAllocCompatMap</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Status <emphasis>
XkbAllocCompatMap</emphasis>
@ -1609,21 +1624,21 @@ xkb, which, num_si</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
; /* keyboard description in which to allocate compat map */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int<emphasis>
which</emphasis>
; /* mask of compatibility map components to allocate */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int<emphasis>
num_si</emphasis>
@ -1709,10 +1724,11 @@ XkbFreeCompatMap</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
void <emphasis>
XkbFreeCompatMap</emphasis>
@ -1721,21 +1737,21 @@ xkb, which, free_map</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
; /* Xkb description in which to free compatibility map */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int<emphasis>
which</emphasis>
; /* mask of compatibility map components to free */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Bool <emphasis>
free_map</emphasis>

View file

@ -237,15 +237,16 @@ above. These masks and their relationships to the fields in a keyboard
description are shown in Table 18.1.
</para>
<table frame='none'>
<table frame='topbot'>
<title>Symbolic Names Masks</title>
<tgroup cols='4'>
<colspec colsep='0'/>
<colspec colsep='0'/>
<colspec colsep='0'/>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='4' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='3.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<colspec colname='c3' colwidth='1.5*'/>
<colspec colname='c4' colwidth='2.0*'/>
<thead>
<row rowsep='0'>
<row rowsep='1'>
<entry>Mask Bit</entry>
<entry>Value</entry>
<entry>Keyboard Component</entry>
@ -253,91 +254,91 @@ description are shown in Table 18.1.
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry>XkbKeycodesNameMask</entry>
<entry>(1&lt;&lt;0)</entry>
<entry>Xkb-&gt;names</entry>
<entry>keycodes</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGeometryNameMask</entry>
<entry>(1&lt;&lt;1)</entry>
<entry>Xkb-&gt;names</entry>
<entry>geometry</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbSymbolsNameMask</entry>
<entry>(1&lt;&lt;2)</entry>
<entry>Xkb-&gt;names</entry>
<entry>symbols</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbPhysSymbolsNameMask</entry>
<entry>(1&lt;&lt;3)</entry>
<entry>Xkb-&gt;names</entry>
<entry>phys_symbols</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbTypesNameMask</entry>
<entry>(1&lt;&lt;4)</entry>
<entry>Xkb-&gt;names</entry>
<entry>type</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbCompatNameMask</entry>
<entry>(1&lt;&lt;5)</entry>
<entry>Xkb-&gt;names</entry>
<entry>compat</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbKeyTypeNamesMask</entry>
<entry>(1&lt;&lt;6)</entry>
<entry>Xkb-&gt;map</entry>
<entry>type[*].name</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbKTLevelNamesMask</entry>
<entry>(1&lt;&lt;7)</entry>
<entry>Xkb-&gt;map</entry>
<entry>type[*].lvl_names[*]</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbIndicatorNamesMask</entry>
<entry>(1&lt;&lt;8)</entry>
<entry>Xkb-&gt;names</entry>
<entry>indicators[*]</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbKeyNamesMask</entry>
<entry>(1&lt;&lt;9)</entry>
<entry>Xkb-&gt;names</entry>
<entry>keys[*], num_keys</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbKeyAliasesMask</entry>
<entry>(1&lt;&lt;10)</entry>
<entry>Xkb-&gt;names</entry>
<entry>key_aliases[*], num_key_aliases</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbVirtualModNamesMask</entry>
<entry>(1&lt;&lt;11)</entry>
<entry>Xkb-&gt;names</entry>
<entry>vmods[*]</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGroupNamesMask</entry>
<entry>(1&lt;&lt;12)</entry>
<entry>Xkb-&gt;names</entry>
<entry>groups[*]</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbRGNamesMask</entry>
<entry>(1&lt;&lt;13)</entry>
<entry>Xkb-&gt;names</entry>
<entry>radio_groups[*], num_rg</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbComponentNamesMask</entry>
<entry>(0x3f)</entry>
<entry>Xkb-&gt;names</entry>
@ -350,7 +351,7 @@ description are shown in Table 18.1.
<para>compatibility map</para>
</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbAllNamesMask</entry>
<entry>(0x3fff)</entry>
<entry>Xkb-&gt;names</entry>
@ -371,10 +372,11 @@ XkbGetNames</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Status <emphasis>
XkbGetNames</emphasis>
@ -383,21 +385,21 @@ dpy, which, Xkb</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
dpy</emphasis>
; /* connection to the X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
which</emphasis>
; /* mask of names or map components to be updated */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
@ -524,10 +526,11 @@ BadImplementation</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool <emphasis>
XkbSetNames</emphasis>
@ -536,35 +539,35 @@ dpy, which, first_type, num_types, xkb</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
dpy</emphasis>
; /* connection to the X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
which</emphasis>
; /* mask of names or map components to be changed */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
first_type</emphasis>
; /* first type whose name is to be changed */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
num_types</emphasis>
; /* number of types for which names are to be changed */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
@ -668,15 +671,16 @@ the fields in the structure specify the ranges that have changed for the
various kinds of symbolic names, as shown in Table 18.2.
</para>
<table frame='none'>
<table frame='topbot'>
<title>XkbNameChanges Fields</title>
<tgroup cols='4'>
<colspec colsep='0'/>
<colspec colsep='0'/>
<colspec colsep='0'/>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='4' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='2.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<colspec colname='c3' colwidth='1.0*'/>
<colspec colname='c4' colwidth='2.0*'/>
<thead>
<row rowsep='0'>
<row rowsep='1'>
<entry>Mask</entry>
<entry>Fields</entry>
<entry>Component</entry>
@ -684,7 +688,7 @@ various kinds of symbolic names, as shown in Table 18.2.
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry>XkbKeyTypeNamesMask</entry>
<entry>
<para>first_type,</para>
@ -693,7 +697,7 @@ various kinds of symbolic names, as shown in Table 18.2.
<entry>Xkb-&gt;map</entry>
<entry>type[*].name</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbKTLevelNamesMask</entry>
<entry>
<para>first_lvl,</para>
@ -702,19 +706,19 @@ various kinds of symbolic names, as shown in Table 18.2.
<entry>Xkb-&gt;map</entry>
<entry>type[*].lvl_names[*]</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbKeyAliasesMask</entry>
<entry>num_aliases</entry>
<entry>Xkb-&gt;names</entry>
<entry>key_aliases[*]</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbRGNamesMask</entry>
<entry>num_rg</entry>
<entry>Xkb-&gt;names</entry>
<entry>radio_groups[*]</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbKeyNamesMask</entry>
<entry>
<para>first_key,</para>
@ -723,19 +727,19 @@ various kinds of symbolic names, as shown in Table 18.2.
<entry>Xkb-&gt;names</entry>
<entry>keys[*]</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbVirtualModNamesMask</entry>
<entry>changed_vmods</entry>
<entry>Xkb-&gt;names</entry>
<entry>vmods[*]</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbIndicatorNamesMask</entry>
<entry>changed_indicators</entry>
<entry>Xkb-&gt;names</entry>
<entry>indicators[*]</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGroupNamesMask</entry>
<entry>changed_groups</entry>
<entry>Xkb-&gt;names</entry>
@ -756,10 +760,11 @@ XkbNameChangesRec</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool <emphasis>
XkbChangeNames</emphasis>
@ -768,21 +773,21 @@ dpy, xkb, changes</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
dpy</emphasis>
; /* connection to the X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
; /* keyboard description from which names are to be taken */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbNameChangesPtr <emphasis>
changes</emphasis>
@ -907,10 +912,11 @@ XkbNoteNameChanges</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
void <emphasis>
XkbNoteNameChanges</emphasis>
@ -923,7 +929,7 @@ old</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbNameChangesPtr <emphasis>
old</emphasis>
@ -932,14 +938,14 @@ XkbNameChanges</emphasis>
structure to be updated */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbNamesNotifyEvent * <emphasis>
new</emphasis>
; /* event from which changes are to be copied */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
wanted</emphasis>
@ -977,10 +983,11 @@ XkbNoteNameChanges</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Status <emphasis>
XkbGetNameChanges</emphasis>
@ -993,21 +1000,21 @@ dpy</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
dpy</emphasis>
; /* connection to the X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
; /* keyboard description to which names are copied */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbNameChangesPtr <emphasis>
changes</emphasis>
@ -1061,10 +1068,11 @@ XkbAllocNames</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Status <emphasis>
XkbAllocNames</emphasis>
@ -1072,28 +1080,28 @@ XkbAllocNames</emphasis>
xkb, which, num_rg, num_key_aliases)</emphasis>
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb;</emphasis>
/* keyboard description for which names are to be allocated */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
which;</emphasis>
/* mask of names to be allocated */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int <emphasis>
num_rg;</emphasis>
/* total number of radio group names needed */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int <emphasis>
num_key_aliases;</emphasis>
@ -1134,10 +1142,11 @@ XkbFreeNames</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
void <emphasis>
XkbFreeNames</emphasis>
@ -1145,21 +1154,21 @@ XkbFreeNames</emphasis>
xkb, which, free_map)</emphasis>
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDescPtr <emphasis>
xkb</emphasis>
; /* keyboard description for which names are to be freed */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
which</emphasis>
; /* mask of names components to be freed */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Bool <emphasis>
free_map</emphasis>

View file

@ -208,12 +208,13 @@ and<emphasis>
detail parameter to a mask composed of a bitwise OR of masks in Table 19.1.
</para>
<table frame='none'>
<table frame='topbot'>
<title>XkbNewKeyboardNotifyEvent Details</title>
<tgroup cols='3'>
<colspec colsep='0'/>
<colspec colsep='0'/>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='3' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='2.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<colspec colname='c3' colwidth='2.0*'/>
<thead>
<row rowsep='1'>
<entry>XkbNewKeyboardNotify Event Details</entry>
@ -222,22 +223,22 @@ and<emphasis>
</row>
</thead>
<tbody>
<row rowsep='1'>
<row>
<entry><emphasis>XkbNKN_KeycodesMask</emphasis></entry>
<entry>(1L&lt;&lt;0)</entry>
<entry>Notification of keycode range changes wanted</entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>XkbNKN_GeometryMask</emphasis></entry>
<entry>(1L&lt;&lt;1)</entry>
<entry>Notification of geometry changes wanted</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbNKN_DeviceIDMask</entry>
<entry>(1L&lt;&lt;2)</entry>
<entry>Notification of device ID changes wanted</entry>
</row>
<row rowsep='0'>
<row>
<entry><emphasis>XkbNKN_AllChangesMask</emphasis></entry>
<entry>(0x7)</entry>
<entry>Includes all of the above masks</entry>

View file

@ -9,21 +9,22 @@ partial descriptions. Table 20.1 identifies the component types and the type of
information they contain.
</para>
<table frame='none'>
<table frame='topbot'>
<title>Server Database Keyboard Components</title>
<tgroup cols='3'>
<colspec colsep='0'/>
<colspec colsep='0'/>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='3' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<colspec colname='c3' colwidth='1.5*'/>
<thead>
<row rowsep='0'>
<row rowsep='1'>
<entry>Component Type</entry>
<entry>Component Primary Contents</entry>
<entry>May also contain</entry>
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry>Keymap</entry>
<entry>
<para>Complete keyboard description</para>
@ -31,7 +32,7 @@ information they contain.
</entry>
<entry></entry>
</row>
<row rowsep='0'>
<row>
<entry>Keycodes</entry>
<entry>
<para>Symbolic name for each key</para>
@ -43,14 +44,14 @@ information they contain.
<para>Description of indicators physically present</para>
</entry>
</row>
<row rowsep='0'>
<row>
<entry>Types</entry>
<entry>Key types</entry>
<entry>
Real modifier bindings and symbolic names for some virtual modifiers
</entry>
</row>
<row rowsep='0'>
<row>
<entry>Compatibility</entry>
<entry>Rules used to assign actions to keysyms</entry>
<entry>
@ -58,7 +59,7 @@ Real modifier bindings and symbolic names for some virtual modifiers
<para>Real modifier bindings and symbolic names for some virtual modifiers</para>
</entry>
</row>
<row rowsep='0'>
<row>
<entry>Symbols</entry>
<entry>
<para>Symbol mapping for keyboard keys</para>
@ -70,7 +71,7 @@ Real modifier bindings and symbolic names for some virtual modifiers
<para>Real modifier bindings and symbolic names for some virtual modifiers</para>
</entry>
</row>
<row rowsep='0'>
<row>
<entry>Geometry</entry>
<entry>Layout of the keyboard</entry>
<entry>
@ -164,10 +165,11 @@ XkbListComponents</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
XkbComponentListPtr<emphasis>
XkbListComponents</emphasis>
@ -182,14 +184,14 @@ max_inout</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
dpy</emphasis>
; /* connection to X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
device_spec</emphasis>
@ -198,14 +200,14 @@ XkbUseCoreKbd</emphasis>
*/
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbComponentNamesPtr <emphasis>
ptrns</emphasis>
; /* namelist for components of interest */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int * <emphasis>
max_inout</emphasis>
@ -366,17 +368,18 @@ XkbFreeComponentList</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
void <emphasis>
XkbFreeComponentList</emphasis>
(list)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbComponentListPtr list; /* pointer to <emphasis>
XkbComponentListRec</emphasis>
@ -424,15 +427,16 @@ XkbLC_AlternateGroup</emphasis>
may be combined with any of the other flags).
</para>
<table frame='none'>
<table frame='topbot'>
<title>XkbComponentNameRec Flags Bits</title>
<tgroup cols='4'>
<colspec colsep='0'/>
<colspec colsep='0'/>
<colspec colsep='0'/>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='4' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.5*'/>
<colspec colname='c2' colwidth='3.0*'/>
<colspec colname='c3' colwidth='2.0*'/>
<colspec colname='c4' colwidth='1.0*'/>
<thead>
<row rowsep='0'>
<row rowsep='1'>
<entry>Component Type</entry>
<entry>Component Hints (flags)</entry>
<entry>Meaning</entry>
@ -440,79 +444,79 @@ XkbLC_AlternateGroup</emphasis>
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry>All Components</entry>
<entry><para><emphasis>XkbLC_Hidden</emphasis></para></entry>
<entry>Do not present to user</entry>
<entry>(1L&lt;&lt;0)</entry>
</row>
<row rowsep='0'>
<row>
<entry></entry>
<entry><emphasis>XkbLC_Default</emphasis></entry>
<entry>Default member of class</entry>
<entry>(1L&lt;&lt;1)</entry>
</row>
<row rowsep='0'>
<row>
<entry></entry>
<entry><emphasis>XkbLC_Partial</emphasis></entry>
<entry>Partial component</entry>
<entry>(1L&lt;&lt;2)</entry>
</row>
<row rowsep='0'>
<row>
<entry>Keymap</entry>
<entry>none</entry>
<entry></entry>
<entry></entry>
</row>
<row rowsep='0'>
<row>
<entry>Keycodes</entry>
<entry>none</entry>
<entry></entry>
<entry></entry>
</row>
<row rowsep='0'>
<row>
<entry>Types</entry>
<entry>none</entry>
<entry></entry>
<entry></entry>
</row>
<row rowsep='0'>
<row>
<entry>Compatibility</entry>
<entry>none</entry>
<entry></entry>
<entry></entry>
</row>
<row rowsep='0'>
<row>
<entry>Symbols</entry>
<entry><emphasis>XkbLC_AlphanumericKeys</emphasis></entry>
<entry>Bindings primarily for alphanumeric keyboard section</entry>
<entry>(1L&lt;&lt;8)</entry>
</row>
<row rowsep='0'>
<row>
<entry></entry>
<entry><emphasis>XkbLC_ModifierKeys</emphasis></entry>
<entry>Bindings primarily for modifier keys</entry>
<entry>(1L&lt;&lt;9)</entry>
</row>
<row rowsep='0'>
<row>
<entry></entry>
<entry><emphasis>XkbLC_KeypadKeys</emphasis></entry>
<entry>Bindings primarily for numeric keypad keys</entry>
<entry>(1L&lt;&lt;10)</entry>
</row>
<row rowsep='0'>
<row>
<entry></entry>
<entry><emphasis>XkbLC_FunctionKeys</emphasis></entry>
<entry>Bindings primarily for function keys</entry>
<entry>(1L&lt;&lt;11)</entry>
</row>
<row rowsep='0'>
<row>
<entry></entry>
<entry><emphasis>XkbLC_AlternateGroup</emphasis></entry>
<entry>Bindings for an alternate group</entry>
<entry>(1L&lt;&lt;12)</entry>
</row>
<row rowsep='0'>
<row>
<entry>Geometry</entry>
<entry>none</entry>
<entry></entry>
@ -549,10 +553,11 @@ XkbGetKeyboardByName</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
XkbDescPtr <emphasis>
XkbGetKeyboardByName</emphasis>
@ -571,14 +576,14 @@ load</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
dpy</emphasis>
; /* connection to X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
device_spec</emphasis>
@ -587,28 +592,28 @@ XkbUseCoreKbd</emphasis>
*/
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbComponentNamesPtr <emphasis>
names</emphasis>
; /* names of components to fetch */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
want</emphasis>
; /* desired structures in returned record */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
need</emphasis>
; /* mandatory structures in returned record */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Bool <emphasis>
load</emphasis>
@ -832,66 +837,67 @@ compat</emphasis>
</emphasis>
</para>
<table frame='none'>
<table frame='topbot'>
<title>Want and Need Mask Bits and Required Names Components</title>
<tgroup cols='3'>
<colspec colsep='0'/>
<colspec colsep='0'/>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='3' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='2.4*'/>
<colspec colname='c2' colwidth='2.6*'/>
<colspec colname='c3' colwidth='1.0*'/>
<thead>
<row rowsep='0'>
<row rowsep='1'>
<entry>want or need mask bit</entry>
<entry>Required names Components</entry>
<entry>value</entry>
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry>XkbGBN_TypesMask</entry>
<entry>Types</entry>
<entry>(1L&lt;&lt;0)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGBN_CompatMapMask</entry>
<entry>Compat</entry>
<entry>(1L&lt;&lt;1)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGBN_ClientSymbolsMask</entry>
<entry>Types + Symbols + Keycodes</entry>
<entry>(1L&lt;&lt;2)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGBN_ServerSymbolsMask</entry>
<entry>Types + Symbols + Keycodes</entry>
<entry>(1L&lt;&lt;3)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGBN_SymbolsMask</entry>
<entry>Symbols</entry>
<entry>(1L&lt;&lt;1)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGBN_IndicatorMapMask</entry>
<entry>Compat</entry>
<entry>(1L&lt;&lt;4)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGBN_KeyNamesMask</entry>
<entry>Keycodes</entry>
<entry>(1L&lt;&lt;5)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGBN_GeometryMask</entry>
<entry>Geometry</entry>
<entry>(1L&lt;&lt;6)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGBN_OtherNamesMask</entry>
<entry>Types + Symbols + Keycodes + Compat + Geometry</entry>
<entry>(1L&lt;&lt;7)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGBN_AllComponentsMask</entry>
<entry></entry>
<entry>(0xff)</entry>
@ -988,51 +994,52 @@ XkbDescRec</emphasis>
components that are filled in.
</para>
<table frame='none'>
<table frame='topbot'>
<title>XkbDescRec Components Returned for Values of Want &amp; Needs</title>
<tgroup cols='3'>
<colspec colsep='0'/>
<colspec colsep='0'/>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='3' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<colspec colname='c3' colwidth='1.0*'/>
<thead>
<row rowsep='0'>
<row rowsep='1'>
<entry>Request (want+need)</entry>
<entry>Fills in Xkb components</entry>
<entry>Equivalent Function Call</entry>
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry>XkbGBN_TypesMask</entry>
<entry>map.types</entry>
<entry>XkbGetUpdatedMap(dpy, XkbTypesMask, Xkb)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGBN_ServerSymbolsMask</entry>
<entry>server</entry>
<entry>XkbGetUpdatedMap(dpy, XkbAllClientInfoMask, Xkb)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGBN_ClientSymbolsMask</entry>
<entry>map, including map.types</entry>
<entry>XkbGetUpdatedMap(dpy, XkbAllServerInfoMask, Xkb)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGBN_IndicatorMaps</entry>
<entry>indicators</entry>
<entry>XkbGetIndicatorMap(dpy, XkbAllIndicators, Xkb)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGBN_CompatMapMask</entry>
<entry>compat</entry>
<entry>XkbGetCompatMap(dpy, XkbAllCompatMask, Xkb)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGBN_GeometryMask</entry>
<entry>geom</entry>
<entry>XkbGetGeometry(dpy, Xkb)</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGBN_KeyNamesMask</entry>
<entry>
<para>names.keys</para>
@ -1042,7 +1049,7 @@ XkbDescRec</emphasis>
XkbGetNames(dpy, XkbKeyNamesMask | XkbKeyAliasesMask, Xkb)
</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbGBN_OtherNamesMask</entry>
<entry>
<para>names.keycodes</para>
@ -1113,10 +1120,11 @@ XkbGetKeyboard</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
XkbDescPtr <emphasis>
XkbGetKeyboard</emphasis>
@ -1129,14 +1137,14 @@ device_spec</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
dpy</emphasis>
; /* connection to X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int<emphasis>
which</emphasis>
@ -1145,7 +1153,7 @@ XkbDescRec</emphasis>
of interest */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
device_spec</emphasis>

View file

@ -225,15 +225,16 @@ same bits are used to indicate the specific information desired in many of the
functions described subsequently in this section.
</para>
<table frame='none'>
<table frame='topbot'>
<title>XkbDeviceInfoRec Mask Bits</title>
<tgroup cols='4'>
<colspec colsep='0'/>
<colspec colsep='0'/>
<colspec colsep='0'/>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='4' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='2.9*'/>
<colspec colname='c2' colwidth='2.0*'/>
<colspec colname='c3' colwidth='0.9*'/>
<colspec colname='c4' colwidth='2.0*'/>
<thead>
<row rowsep='0'>
<row rowsep='1'>
<entry>Name</entry>
<entry>XkbDeviceInfoRec Fields Effected</entry>
<entry>Value</entry>
@ -241,7 +242,7 @@ functions described subsequently in this section.
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry>XkbXI_KeyboardsMask</entry>
<entry></entry>
<entry>(1L &lt;&lt; 0)</entry>
@ -251,7 +252,7 @@ Clients can use all Xkb requests and events with
devices supported by the input device extension.
</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbXI_ButtonActionsMask</entry>
<entry>
<para>num_btns</para>
@ -264,7 +265,7 @@ KeyClass</emphasis>
input extension devices.
</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbXI_IndicatorNamesMask</entry>
<entry>leds-&gt;names</entry>
<entry>(1L &lt;&lt;2)</entry>
@ -274,7 +275,7 @@ KeyClass</emphasis>
input extension devices.
</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbXI_IndicatorMapsMask</entry>
<entry>leds-&gt;maps</entry>
<entry>(1L &lt;&lt;3)</entry>
@ -284,7 +285,7 @@ KeyClass</emphasis>
input extension devices.
</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbXI_IndicatorStateMask</entry>
<entry>leds-&gt;state</entry>
<entry>(1L &lt;&lt;4)</entry>
@ -294,7 +295,7 @@ KeyClass</emphasis>
input extension devices.
</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbXI_IndicatorsMask</entry>
<entry>
<para>sz_leds</para>
@ -303,42 +304,42 @@ KeyClass</emphasis>
</entry>
<entry>(0x1c)</entry>
<entry>
<para>XkbXI_IndicatorNamesMask |</para>
<para>XkbXI_IndicatorMapsMask |</para>
<para>XkbXI_IndicatorStateMask</para>
<para>XkbXI_IndicatorNames&#xAD;Mask |</para>
<para>XkbXI_IndicatorMaps&#xAD;Mask |</para>
<para>XkbXI_IndicatorState&#xAD;Mask</para>
</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbXI_UnsupportedFeaturesMask</entry>
<entry>unsupported</entry>
<entry>(1L &lt;&lt;15)</entry>
<entry></entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbXI_AllDeviceFeaturesMask</entry>
<entry>Those selected by Value column masks</entry>
<entry>(0x1e)</entry>
<entry>
<para>XkbXI_IndicatorsMask | </para>
<para>XkbSI_ButtonActionsMask</para>
<para>XkbXI_Indicators&#xAD;Mask | </para>
<para>XkbSI_ButtonActions&#xAD;Mask</para>
</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbXI_AllFeaturesMask</entry>
<entry>Those selected by Value column masks</entry>
<entry>(0x1f)</entry>
<entry>
<para>XkbSI_AllDeviceFeaturesMask |</para>
<para>XkbSI_KeyboardsMask</para>
<para>XkbSI_AllDevice&#xAD;FeaturesMask |</para>
<para>XkbSI_Keyboards&#xAD;Mask</para>
</entry>
</row>
<row rowsep='0'>
<row>
<entry>XkbXI_AllDetailsMask</entry>
<entry>Those selected by Value column masks</entry>
<entry>(0x801f)</entry>
<entry>
<para>XkbXI_AllFeaturesMask | </para>
<para>XkbXI_UnsupportedFeaturesMask</para>
<para>XkbXI_AllFeatures&#xAD;Mask | </para>
<para>XkbXI_Unsupported&#xAD;FeaturesMask</para>
</entry>
</row>
</tbody>
@ -376,10 +377,11 @@ KeyClass</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
XkbDeviceInfoPtr <emphasis>
XkbGetDeviceInfo</emphasis>
@ -388,20 +390,20 @@ dpy</emphasis>
, which, device_spec, ind_class, ind_id)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
dpy</emphasis>
; /* connection to X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int which; /* mask indicating information to
return */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
device_spec</emphasis>
@ -410,14 +412,14 @@ XkbUseCoreKbd</emphasis>
*/
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
ind_class</emphasis>
; /* feedback class for indicator requests */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
ind_id</emphasis>
@ -613,10 +615,11 @@ XkbGetDeviceButtonActions.
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Status <emphasis>
XkbGetDeviceButtonActions</emphasis>
@ -625,20 +628,20 @@ dpy, device_info, all_buttons, first_button, num_buttons</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
dpy</emphasis>
; /* connection to X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDeviceInfoPtr device_info; /* structure to update with
results */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Bool <emphasis>
all_buttons</emphasis>
@ -647,13 +650,13 @@ True</emphasis>
=&gt; get information for all buttons */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int first_button; /* number of first button for
which info is desired */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int num_buttons; /* number of buttons for which
info is desired */
@ -746,10 +749,11 @@ of an input extension device, use XkbGetDeviceLedInfo.
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Status <emphasis>
XkbGetDeviceLedInfo</emphasis>
@ -758,33 +762,33 @@ dpy, device_i</emphasis>
nfo, led_class, led_id, which)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
dpy</emphasis>
; /* connection to X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDeviceInfoPtr device_info; /* structure to update with
results */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
led_class</emphasis>
; /* LED feedback class assigned by input extension */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int led_id; /* LED feedback ID assigned by input
extension */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int which; /* mask indicating desired
information */
@ -934,30 +938,31 @@ XkbDeviceInfoRec</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
XkbDeviceInfoPtr <emphasis>
XkbAllocDeviceInfo</emphasis>
(device_spec, n_buttons, sz_leds)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int device_spec; /* device ID with which
structure will be used */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
n_buttons</emphasis>
; /* number of button actions to allocate space for*/
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
sz_leds</emphasis>
@ -1004,24 +1009,25 @@ XkbDeviceLedInfoRec</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Status <emphasis>
XkbAllocDeviceLedInfo</emphasis>
(devi, num_needed)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDeviceInfoPtr <emphasis>
device_info</emphasis>
; /* structure in which to allocate LED space */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
int <emphasis>
num_needed</emphasis>
@ -1060,30 +1066,31 @@ XkbDeviceLedInfoRec</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
XkbDeviceLedInfoPtr <emphasis>
XkbAddDeviceLedInfo</emphasis>
(device_info, led_class, led_id)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDeviceInfoPtr device_info; /* structure in which to
add LED info */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
led_class</emphasis>
; /* input extension class for LED device of interest */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
led_id</emphasis>
@ -1154,23 +1161,24 @@ XkbDeviceInfoRec</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Status <emphasis>
XkbResizeDeviceButtonActions</emphasis>
(device_info, new_total)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDeviceInfoPtr device_info; /* structure in which to
allocate button actions */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
new_total</emphasis>
@ -1217,24 +1225,25 @@ XkbDeviceInfoRec</emphasis>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
void <emphasis>
XkbFreeDeviceInfo</emphasis>
(device_info, which, free_all)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDeviceInfoPtr device_info; /* pointer to <emphasis>
XkbDeviceInfoRec</emphasis>
in which to free items */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
which</emphasis>
@ -1243,7 +1252,7 @@ device_info</emphasis>
to free */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Bool <emphasis>
free_all</emphasis>
@ -1379,10 +1388,11 @@ use XkbSetDeviceInfo.
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool <emphasis>
XkbSetDeviceInfo</emphasis>
@ -1391,21 +1401,21 @@ dpy</emphasis>
, which, device_info)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
dpy</emphasis>
; /* connection to X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
which</emphasis>
; /* mask indicating characteristics to modify */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDeviceInfoPtr device_info; /* structure defining the
device and modifications */
@ -1577,10 +1587,11 @@ XkbSetDeviceButtonActions.
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool <emphasis>
XkbSetDeviceButtonActions</emphasis>
@ -1589,26 +1600,26 @@ dpy</emphasis>
, device, first_button, num_buttons, actions)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
dpy</emphasis>
; /* connection to X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDeviceInfoPtr device_info; /* structure defining the
device and modifications */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int first_button; /* number of first button to
update, 0 relative */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int num_buttons; /* number of buttons to update
*/
@ -1842,10 +1853,11 @@ XkbExtensionDeviceNotify</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
void <emphasis>
XkbNoteDeviceChanges</emphasis>
@ -1854,21 +1866,21 @@ old, new, wanted</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDeviceChangesPtr <emphasis>
old</emphasis>
; /* structure tracking state changes */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbExtensionDeviceNotifyEvent * <emphasis>
new</emphasis>
; /* event indicating state changes */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
wanted</emphasis>
@ -1921,10 +1933,11 @@ XkbGetDeviceInfoChanges.
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Status <emphasis>
XkbGetDeviceInfoChanges</emphasis>
@ -1935,20 +1948,20 @@ device_info</emphasis>
, changes)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
dpy</emphasis>
; /* connection to X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDeviceInfoPtr device_info; /* structure to update with
results */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDeviceChangesPtr <emphasis>
changes</emphasis>
@ -1985,10 +1998,11 @@ XkbDeviceChangesRec, use XkbChangeDeviceInfo.
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool <emphasis>
XkbChangeDeviceInfo</emphasis>
@ -1997,21 +2011,21 @@ dpy, device_info, changes</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
dpy</emphasis>
; /* connection to X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDeviceInfoPtr <emphasis>
device_info</emphasis>
; /* local copy of device state and configuration */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
XkbDeviceChangesPtr <emphasis>
changes</emphasis>

View file

@ -21,10 +21,11 @@ XkbSetDebuggingFlags</emphasis>
</para>
<informaltable frame='none'>
<tgroup cols='1'>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep='0'>
<row>
<entry role='functiondecl'>
Bool <emphasis>
XkbSetDebuggingFlags</emphasis>
@ -33,21 +34,21 @@ display, mask, flags, msg, ctrls_mask, ctrls, ret_flags, ret_ctrls</emphasis>
)
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
Display * <emphasis>
display</emphasis>
; /* connection to X server */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
mask</emphasis>
; /* mask selecting debug output flags to change */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
flags</emphasis>
@ -56,21 +57,21 @@ mask</emphasis>
*/
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
char * <emphasis>
msg</emphasis>
; /* message to print right now */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
ctrls_mask</emphasis>
; /* mask selecting debug controls to change */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int <emphasis>
ctrls</emphasis>
@ -79,14 +80,14 @@ ctrls_mask</emphasis>
*/
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int * <emphasis>
ret_flags</emphasis>
; /* resulting state of all debug output flags */
</entry>
</row>
<row rowsep='0'>
<row>
<entry role='functionargdecl'>
unsigned int * <emphasis>
ret_ctrls</emphasis>
@ -160,21 +161,22 @@ flags</emphasis>
are. The valid controls bits are defined in Table 22.1.
</para>
<table frame='none'>
<table frame='topbot'>
<title>Debug Control Masks</title>
<tgroup cols='3'>
<colspec colsep='0'/>
<colspec colsep='0'/>
<colspec colsep='0'/>
<?dbfo keep-together="always" ?>
<tgroup cols='3' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.5*'/>
<colspec colname='c2' colwidth='1.0*'/>
<colspec colname='c3' colwidth='2.0*'/>
<thead>
<row rowsep='0'>
<row rowsep='1'>
<entry>Debug Control Mask</entry>
<entry>Value</entry>
<entry>Meaning</entry>
</row>
</thead>
<tbody>
<row rowsep='0'>
<row>
<entry>XkbDF_DisableLocks</entry>
<entry>(1 &lt;&lt; 0)</entry>
<entry>Disable actions that lock modifiers</entry>

View file

@ -350,50 +350,51 @@ The following values are defined as standard arguments. Other values
are implementation dependent.
</para>
<informaltable frame="none">
<tgroup cols='3' align='left'>
<colspec colname='c1' colwidth="3*" colsep="0"/>
<colspec colname='c2' colwidth="1*" colsep="0"/>
<colspec colname='c3' colwidth="3*" colsep="0"/>
<informaltable frame="topbot">
<?dbfo keep-together="always" ?>
<tgroup cols='3' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth="3.0*"/>
<colspec colname='c2' colwidth="1.0*"/>
<colspec colname='c3' colwidth="3.0*"/>
<thead>
<row>
<row rowsep='1'>
<entry>Name</entry>
<entry>Type</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row rowsep="0">
<row>
<entry>XlcNCodeset</entry>
<entry>char*</entry>
<entry>codeset part of locale name</entry>
</row>
<row rowsep="0">
<row>
<entry>XlcNDefaultString</entry>
<entry>char*</entry>
<entry>XDefaultString()</entry>
</row>
<row rowsep="0">
<row>
<entry>XlcNEncodingName</entry>
<entry>char*</entry>
<entry>encoding name</entry>
</row>
<row rowsep="0">
<row>
<entry>XlcNLanguage</entry>
<entry>char*</entry>
<entry>language part of locale name</entry>
</row>
<row rowsep="0">
<row>
<entry>XlcNMbCurMax</entry>
<entry>int</entry>
<entry>ANSI C MB_CUR_MAX</entry>
</row>
<row rowsep="0">
<row>
<entry>XlcNStateDependentEncoding</entry>
<entry>Bool</entry>
<entry>is state-dependent encoding or not</entry>
</row>
<row rowsep="0">
<row>
<entry>XlcNTerritory</entry>
<entry>char*</entry>
<entry>territory part of locale name</entry>
@ -465,130 +466,131 @@ returns NULL, if no XlcCharSet bound to specified "<emphasis remap='I'>name</emp
The following character sets are pre-registered.
</para>
<informaltable frame="none">
<tgroup cols='2' align='left'>
<colspec colname='c1' colwidth="1*" colsep="0"/>
<colspec colname='c2' colwidth="2*" colsep="0"/>
<informaltable frame="topbot">
<?dbfo keep-together="auto" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth="1.0*"/>
<colspec colname='c2' colwidth="2.0*"/>
<thead>
<row>
<row rowsep='1'>
<entry>Name</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row rowsep="0">
<row>
<entry>ISO8859-1:GL</entry>
<entry>7-bit ASCII graphics (ANSI X3.4-1968),</entry>
</row>
<row rowsep="0">
<row>
<entry></entry>
<entry>Left half of ISO 8859 sets</entry>
</row>
<row rowsep="0">
<row>
<entry>JISX0201.1976-0:GL</entry>
<entry>Left half of JIS X0201-1976 (reaffirmed 1984),</entry>
</row>
<row rowsep="0">
<row>
<entry></entry>
<entry>8-Bit Alphanumeric-Katakana Code</entry>
</row>
<row rowsep="0">
<row>
<entry>ISO8859-1:GR</entry>
<entry>Right half of ISO 8859-1, Latin alphabet No. 1</entry>
</row>
<row rowsep="0">
<row>
<entry>ISO8859-2:GR</entry>
<entry>Right half of ISO 8859-2, Latin alphabet No. 2</entry>
</row>
<row rowsep="0">
<row>
<entry>ISO8859-3:GR</entry>
<entry>Right half of ISO 8859-3, Latin alphabet No. 3</entry>
</row>
<row rowsep="0">
<row>
<entry>ISO8859-4:GR</entry>
<entry>Right half of ISO 8859-4, Latin alphabet No. 4</entry>
</row>
<row rowsep="0">
<row>
<entry>ISO8859-7:GR</entry>
<entry>Right half of ISO 8859-7, Latin/Greek alphabet</entry>
</row>
<row rowsep="0">
<row>
<entry>ISO8859-6:GR</entry>
<entry>Right half of ISO 8859-6, Latin/Arabic alphabet</entry>
</row>
<row rowsep="0">
<row>
<entry>ISO8859-8:GR</entry>
<entry>Right half of ISO 8859-8, Latin/Hebrew alphabet</entry>
</row>
<row rowsep="0">
<row>
<entry>ISO8859-5:GR</entry>
<entry>Right half of ISO 8859-5, Latin/Cyrillic alphabet</entry>
</row>
<row rowsep="0">
<row>
<entry>ISO8859-9:GR</entry>
<entry>Right half of ISO 8859-9, Latin alphabet No. 5</entry>
</row>
<row rowsep="0">
<row>
<entry>JISX0201.1976-0:GR</entry>
<entry>Right half of JIS X0201-1976 (reaffirmed 1984),</entry>
</row>
<row rowsep="0">
<row>
<entry></entry>
<entry>8-Bit Alphanumeric-Katakana Code</entry>
</row>
<row rowsep="0">
<row>
<entry>GB2312.1980-0:GL</entry>
<entry>GB2312-1980, China (PRC) Hanzi defined as GL</entry>
</row>
<row rowsep="0">
<row>
<entry>GB2312.1980-0:GR</entry>
<entry>GB2312-1980, China (PRC) Hanzi defined as GR</entry>
</row>
<row rowsep="0">
<row>
<entry>JISX0208.1983-0:GL</entry>
<entry>JIS X0208-1983, Japanese Graphic Character Set</entry>
</row>
<row rowsep="0">
<row>
<entry></entry>
<entry>defined as GL</entry>
</row>
<row rowsep="0">
<row>
<entry>JISX0208.1983-0:GR</entry>
<entry>JIS X0208-1983, Japanese Graphic Character Set</entry>
</row>
<row rowsep="0">
<row>
<entry></entry>
<entry>defined as GR</entry>
</row>
<row rowsep="0">
<row>
<entry>KSC5601.1987-0:GL</entry>
<entry>KS C5601-1987, Korean Graphic Character Set</entry>
</row>
<row rowsep="0">
<row>
<entry></entry>
<entry>defined as GL</entry>
</row>
<row rowsep="0">
<row>
<entry>KSC5601.1987-0:GR</entry>
<entry>KS C5601-1987, Korean Graphic Character Set</entry>
</row>
<row rowsep="0">
<row>
<entry></entry>
<entry>defined as GR</entry>
</row>
<row rowsep="0">
<row>
<entry>JISX0212.1990-0:GL</entry>
<entry>JIS X0212-1990, Japanese Graphic Character Set</entry>
</row>
<row rowsep="0">
<row>
<entry></entry>
<entry>defined as GL</entry>
</row>
<row rowsep="0">
<row>
<entry>JISX0212.1990-0:GR</entry>
<entry>JIS X0212-1990, Japanese Graphic Character Set</entry>
</row>
<row rowsep="0">
<row>
<entry></entry>
<entry>defined as GR</entry>
</row>
@ -636,45 +638,46 @@ be obtained. The following values are defined as standard arguments.
Other values are implementation dependent.
</para>
<informaltable frame="none">
<tgroup cols='3' align='left'>
<colspec colname='c1' colwidth="3*" colsep="0"/>
<colspec colname='c2' colwidth="1*" colsep="0"/>
<colspec colname='c3' colwidth="3*" colsep="0"/>
<informaltable frame="topbot">
<?dbfo keep-together="always" ?>
<tgroup cols='3' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth="2.0*"/>
<colspec colname='c2' colwidth="1.0*"/>
<colspec colname='c3' colwidth="3.0*"/>
<thead>
<row>
<row rowsep='1'>
<entry>Name</entry>
<entry>Type</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row rowsep="0">
<row>
<entry>XlcNName</entry>
<entry>char*</entry>
<entry>charset name</entry>
</row>
<row rowsep="0">
<row>
<entry>XlcNEncodingName</entry>
<entry>char*</entry>
<entry>XLFD CharSet Registry and Encoding</entry>
</row>
<row rowsep="0">
<row>
<entry>XlcNSide</entry>
<entry>XlcSide</entry>
<entry>charset side (GL, GR, ...)</entry>
</row>
<row rowsep="0">
<row>
<entry>XlcNCharSize</entry>
<entry>int</entry>
<entry>number of octets per character</entry>
</row>
<row rowsep="0">
<row>
<entry>XlcNSetSize</entry>
<entry>int</entry>
<entry>number of character sets</entry>
</row>
<row rowsep="0">
<row>
<entry>XlcNControlSequence</entry>
<entry>char*</entry>
<entry>control sequence of Compound Text</entry>
@ -750,14 +753,15 @@ The following types are pre-defined. Other types are implementation
dependent.
</para>
<informaltable>
<tgroup cols='4' align='left'>
<colspec colname='c1' colwidth="3*" colsep="0"/>
<colspec colname='c2' colwidth="1*" colsep="0"/>
<colspec colname='c3' colwidth="3*" colsep="0"/>
<colspec colname='c4' colwidth="2*" colsep="0"/>
<informaltable frame="topbot">
<?dbfo keep-together="always" ?>
<tgroup cols='4' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth="2.0*"/>
<colspec colname='c2' colwidth="1.0*"/>
<colspec colname='c3' colwidth="2.0*"/>
<colspec colname='c4' colwidth="3.0*"/>
<thead>
<row>
<row rowsep='1'>
<entry>Name</entry>
<entry>Type</entry>
<entry>Description</entry>
@ -765,37 +769,37 @@ dependent.
</row>
</thead>
<tbody>
<row rowsep="0">
<row>
<entry>XlcNMultiByte</entry>
<entry>char *</entry>
<entry>multibyte</entry>
<entry>-</entry>
</row>
<row rowsep="0">
<row>
<entry>XlcNWideChar</entry>
<entry>wchar_t *</entry>
<entry>wide character</entry>
<entry>-</entry>
</row>
<row rowsep="0">
<row>
<entry>XlcNCompoundText</entry>
<entry>char *</entry>
<entry>COMPOUND_TEXT</entry>
<entry>-</entry>
</row>
<row rowsep="0">
<row>
<entry>XlcNString</entry>
<entry>char *</entry>
<entry>STRING</entry>
<entry>-</entry>
</row>
<row rowsep="0">
<row>
<entry>XlcNCharSet</entry>
<entry>char *</entry>
<entry>per charset</entry>
<entry>XlcCharSet</entry>
</row>
<row rowsep="0">
<row>
<entry>XlcNChar</entry>
<entry>char *</entry>
<entry>per character</entry>
@ -863,25 +867,26 @@ The following 2 converters prepared by locale returns appropriate
charset (XlcCharSet) in an area pointed by args[0].
</para>
<informaltable frame="none">
<tgroup cols='3' align='left'>
<colspec colname='c1' colwidth="1*" colsep="0"/>
<colspec colname='c2' colwidth="1*" colsep="0"/>
<colspec colname='c3' colwidth="2*" colsep="0"/>
<informaltable frame="topbot">
<?dbfo keep-together="always" ?>
<tgroup cols='3' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth="1.0*"/>
<colspec colname='c2' colwidth="1.0*"/>
<colspec colname='c3' colwidth="2.0*"/>
<thead>
<row>
<row rowsep='1'>
<entry>From</entry>
<entry>To</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row rowsep="0">
<row>
<entry>XlcNMultiByte</entry>
<entry>XlcNCharSet</entry>
<entry>Segmentation (Decomposing)</entry>
</row>
<row rowsep="0">
<row>
<entry>XlcNWideChar</entry>
<entry>XlcNCharSet</entry>
<entry>Segmentation (Decomposing)</entry>

View file

@ -155,127 +155,128 @@ The format of category definition is;
</para>
<informaltable frame="none">
<tgroup cols='3' align='left'>
<colspec colname='c1' colwidth="3*" colsep="0"/>
<colspec colname='c2' colwidth="1*" colsep="0"/>
<colspec colname='c3' colwidth="6*" colsep="0"/>
<?dbfo keep-together="auto" ?>
<tgroup cols='3' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='3.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<colspec colname='c3' colwidth='6.0*'/>
<tbody>
<row rowsep="0">
<row>
<entry>CategoryDefinition</entry>
<entry>::=</entry>
<entry>CategoryHeader CategorySpec CategoryTrailer</entry>
</row>
<row rowsep="0">
<row>
<entry>CategoryHeader</entry>
<entry>::=</entry>
<entry>CategoryName NL</entry>
</row>
<row rowsep="0">
<row>
<entry>CategorySpec</entry>
<entry>::=</entry>
<entry>{ ClassSpec }</entry>
</row>
<row rowsep="0">
<row>
<entry>CategoryTrailer</entry>
<entry>::=</entry>
<entry>"END" Delimiter CategoryName NL</entry>
</row>
<row rowsep="0">
<row>
<entry>CategoryName</entry>
<entry>::=</entry>
<entry>String</entry>
</row>
<row rowsep="0">
<row>
<entry>ClassSpec</entry>
<entry>::=</entry>
<entry>ClassName Delimiter ClassValue NL</entry>
</row>
<row rowsep="0">
<row>
<entry>ClassName</entry>
<entry>::=</entry>
<entry>String</entry>
</row>
<row rowsep="0">
<row>
<entry>ClassValue</entry>
<entry>::=</entry>
<entry>ValueList | "{" NL { ClassSpec } "}"</entry>
</row>
<row rowsep="0">
<row>
<entry>ValueList</entry>
<entry>::=</entry>
<entry>Value | Value ";" ValueList</entry>
</row>
<row rowsep="0">
<row>
<entry>Value</entry>
<entry>::=</entry>
<entry>ValuePiece | ValuePiece Value</entry>
</row>
<row rowsep="0">
<row>
<entry>ValuePiece</entry>
<entry>::=</entry>
<entry>String | QuotedString | NumericString</entry>
</row>
<row rowsep="0">
<row>
<entry>String</entry>
<entry>::=</entry>
<entry>Char { Char }</entry>
</row>
<row rowsep="0">
<row>
<entry>QuotedString</entry>
<entry>::=</entry>
<entry>""" QuotedChar { QuotedChar } """</entry>
</row>
<row rowsep="0">
<row>
<entry>NumericString</entry>
<entry>::=</entry>
<entry>"\\o" OctDigit { OctDigit }</entry>
</row>
<row rowsep="0">
<row>
<entry></entry>
<entry>|</entry>
<entry>"\\d" DecDigit { DecDigit }</entry>
</row>
<row rowsep="0">
<row>
<entry></entry>
<entry>|</entry>
<entry>"\\x" HexDigit { HexDigit }</entry>
</row>
<row rowsep="0">
<row>
<entry>Char</entry>
<entry>::=</entry>
<entry>&lt;XPCS except NL, Space or unescaped reserved symbols&gt;</entry>
</row>
<row rowsep="0">
<row>
<entry>QuotedChar</entry>
<entry>::=</entry>
<entry>&lt;XPCS except unescaped """&gt;</entry>
</row>
<row rowsep="0">
<row>
<entry>OctDigit</entry>
<entry>::=</entry>
<entry>&lt;character in the range of "0" - "7"&gt;</entry>
</row>
<row rowsep="0">
<row>
<entry>DecDigit</entry>
<entry>::=</entry>
<entry>&lt;character in the range of "0" - "9"&gt;</entry>
</row>
<row rowsep="0">
<row>
<entry>HexDigit</entry>
<entry>::=</entry>
<entry>&lt;character in the range of "0" - "9", "a" - "f", "A" - "F"&gt;</entry>
</row>
<row rowsep="0">
<row>
<entry>Delimiter</entry>
<entry>::=</entry>
<entry>Space { Space }</entry>
</row>
<row rowsep="0">
<row>
<entry>Space</entry>
<entry>::=</entry>
<entry>&lt;space&gt; | &lt;horizontal tab&gt;</entry>
</row>
<row rowsep="0">
<row>
<entry>NL</entry>
<entry>::=</entry>
<entry>&lt;newline&gt;</entry>
@ -317,14 +318,14 @@ In current sample implementation, categories listed below are available.
</para>
<informaltable frame="none">
<tgroup cols='3' align='left'>
<colspec colname='c1' colwidth="2*" colsep="0"/>
<colspec colname='c2' colwidth="1*" colsep="0"/>
<?dbfo keep-together="always" ?>
<tgroup cols='1' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<tbody>
<row rowsep="0">
<row>
<entry>XLC_FONTSET:XFontSet relative information</entry>
</row>
<row rowsep="0">
<row>
<entry>XLC_XLOCALE:Character classification and conversion information</entry>
</row>
</tbody>
@ -340,30 +341,31 @@ It contains the CHARSET_REGISTRY-CHARSET_ENCODING name and character
mapping side (GL, GR, etc), and is used in Output Method (OM).
</para>
<informaltable frame="none">
<tgroup cols='3' align='left'>
<informaltable frame="topbot">
<?dbfo keep-together="always" ?>
<tgroup cols='3' align='left' colsep='0' rowsep='0'>
<thead>
<colspec colname='c1' colwidth="3*" colsep="0"/>
<colspec colname='c2' colwidth="1*" colsep="0"/>
<colspec colname='c3' colwidth="3*" colsep="0"/>
<row>
<colspec colname='c1' colwidth='3.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<colspec colname='c3' colwidth='3.0*'/>
<row rowsep='1'>
<entry>class</entry>
<entry>super class</entry>
<entry>description</entry>
</row>
</thead>
<tbody>
<row rowsep="0">
<row>
<entry>fsN</entry>
<entry></entry>
<entry>Nth fontset (N=0,1,2, ...)</entry>
</row>
<row rowsep="0">
<row>
<entry>charset</entry>
<entry>fsN</entry>
<entry>list of encoding name</entry>
</row>
<row rowsep="0">
<row>
<entry>font</entry>
<entry>fsN</entry>
<entry>list of font encoding name</entry>
@ -393,22 +395,23 @@ Specifies an encoding information to be used internally in Xlib
for this fontset. The format of value is;
</para>
<informaltable frame="none">
<tgroup cols='3' align='left'>
<colspec colname='c1' colwidth="3*" colsep="0"/>
<colspec colname='c2' colwidth="1*" colsep="0"/>
<colspec colname='c3' colwidth="4*" colsep="0"/>
<?dbfo keep-together="always" ?>
<tgroup cols='3' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='3.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<colspec colname='c3' colwidth='4.0*'/>
<tbody>
<row rowsep="0">
<row>
<entry>EncodingInfo</entry>
<entry>::=</entry>
<entry>EncodingName [ ":" EncodingSide ]</entry>
</row>
<row rowsep="0">
<row>
<entry>EncodingName</entry>
<entry>::=</entry>
<entry>CHARSET_REGISTRY-CHARSET_ENCODING</entry>
</row>
<row rowsep="0">
<row>
<entry>EncodingSide</entry>
<entry>::=</entry>
<entry>"GL" | "GR"</entry>
@ -447,70 +450,71 @@ The XLC_XLOCALE category defines character classification, conversion
and other character attributes.
</para>
<informaltable frame="none">
<tgroup cols='3' align='left'>
<colspec colname='c1' colwidth="3*" colsep="0"/>
<colspec colname='c2' colwidth="1*" colsep="0"/>
<colspec colname='c3' colwidth="3*" colsep="0"/>
<informaltable frame="topbot">
<?dbfo keep-together="always" ?>
<tgroup cols='3' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='3.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<colspec colname='c3' colwidth='3.0*'/>
<thead>
<row>
<row rowsep='1'>
<entry>class</entry>
<entry>super class</entry>
<entry>description</entry>
</row>
</thead>
<tbody>
<row rowsep="0">
<row>
<entry>encoding_name</entry>
<entry></entry>
<entry>codeset name</entry>
</row>
<row rowsep="0">
<row>
<entry>mb_cur_max</entry>
<entry></entry>
<entry>MB_CUR_MAX</entry>
</row>
<row rowsep="0">
<row>
<entry>state_depend_encoding</entry>
<entry></entry>
<entry>state dependent or not</entry>
</row>
<row rowsep="0">
<row>
<entry>wc_encoding_mask</entry>
<entry></entry>
<entry>for parsing wc string</entry>
</row>
<row rowsep="0">
<row>
<entry>wc_shift_bits</entry>
<entry></entry>
<entry>for conversion between wc and mb</entry>
</row>
<row rowsep="0">
<row>
<entry>csN</entry>
<entry></entry>
<entry>Nth charset (N=0,1,2,...)</entry>
</row>
<row rowsep="0">
<row>
<entry>side</entry>
<entry>csN</entry>
<entry>mapping side (GL, etc)</entry>
</row>
<row rowsep="0">
<row>
<entry>length</entry>
<entry>csN</entry>
<entry>length of a character</entry>
</row>
<row rowsep="0">
<row>
<entry>mb_encoding</entry>
<entry>csN</entry>
<entry>for parsing mb string</entry>
</row>
<row rowsep="0">
<row>
<entry>wc_encoding</entry>
<entry>csN</entry>
<entry>for parsing wc string</entry>
</row>
<row rowsep="0">
<row>
<entry>ct_encoding</entry>
<entry>csN</entry>
<entry>list of encoding name for ct</entry>
@ -610,32 +614,33 @@ Specifies a list of shift sequence for parsing multi-byte string.
The format of this value is;
</para>
<informaltable frame="none">
<tgroup cols='3' align='left'>
<colspec colname='c1' colwidth="3*" colsep="0"/>
<colspec colname='c2' colwidth="1*" colsep="0"/>
<colspec colname='c3' colwidth="5*" colsep="0"/>
<?dbfo keep-together="always" ?>
<tgroup cols='3' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='3.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<colspec colname='c3' colwidth='5.0*'/>
<tbody>
<row rowsep="0">
<row>
<entry>MBEncoding</entry>
<entry>::=</entry>
<entry>ShiftType ShiftSequence</entry>
</row>
<row rowsep="0">
<row>
<entry></entry>
<entry>|</entry>
<entry>ShiftType ShiftSequence ";" MBEncoding</entry>
</row>
<row rowsep="0">
<row>
<entry>ShiftType</entry>
<entry>::=</entry>
<entry>"&lt;SS&gt;"|"&lt;LSL&gt;"|"&lt;LSR&gt;"</entry>
</row>
<row rowsep="0">
<row>
<entry>ShiftSequence</entry>
<entry>::=</entry>
<entry>SequenceValue|SequenceValue ShiftSequence</entry>
</row>
<row rowsep="0">
<row>
<entry>SequenceValue</entry>
<entry>::=</entry>
<entry>NumericString</entry>

View file

@ -152,15 +152,16 @@ typedef struct {
</literallayout>
<informaltable frame="none">
<tgroup cols="2">
<colspec colname="col1" colwidth="1*" colsep="0"/>
<colspec colname="col2" colwidth="1*" colsep="0"/>
<?dbfo keep-together="always" ?>
<tgroup cols="2" align='left' colsep='0' rowsep='0'>
<colspec colname="col1" colwidth='1.0*'/>
<colspec colname="col2" colwidth='1.0*'/>
<tbody>
<row rowsep="0">
<row>
<entry><emphasis>transport_name</emphasis></entry>
<entry>name of transport<footnote><para>Refer to "The Input Method Protocol: Appendix B</para></footnote></entry>
</row>
<row rowsep="0">
<row>
<entry><emphasis>config</emphasis></entry>
<entry>initial configuration function</entry>
</row>
@ -276,16 +277,17 @@ Following functions are used for the transport interface.
</para>
<table frame="all" id="transport_layer_functions_2">
<?dbfo keep-together="always" ?>
<title>The Transport Layer Functions</title>
<tgroup cols="3">
<colspec colname="col1" colwidth="3*" colsep="1"/>
<colspec colname="col2" colwidth="3*" colsep="1"/>
<colspec colname="col3" colwidth="1*" colsep="1"/>
<tgroup cols="3" align='left' colsep='1' rowsep='1'>
<colspec colname="col1" colwidth="3.0*"/>
<colspec colname="col2" colwidth="3.0*"/>
<colspec colname="col3" colwidth='1.0*'/>
<thead>
<row>
<entry align="center">Alternate Entry (Interface Layer)</entry>
<entry align="center">XimProto member (Transport Layer)</entry>
<entry align="center">Section</entry>
<entry align='center'>Alternate Entry (Interface Layer)</entry>
<entry align='center'>XimProto member (Transport Layer)</entry>
<entry align='center'>Section</entry>
</row>
</thead>
<tbody>
@ -1105,66 +1107,67 @@ window of XIM_SERVER selection, which the IM Server has created.
Refer to "The Input Method Protocol" for the XIM_SERVER atom.
</para>
<table frame="none" id="transport_layer_functions">
<table frame="topbot" id="transport_layer_functions">
<?dbfo keep-together="always" ?>
<title>The ClientMessage sent to the IMS window.</title>
<tgroup cols="3">
<colspec colname="col1" colwidth="1*" colsep="0"/>
<colspec colname="col2" colwidth="1*" colsep="1"/>
<colspec colname="col3" colwidth="3.5*" colsep="0"/>
<spanspec namest="col1" nameend="col2" spanname="span-horiz" align="left"/>
<tgroup cols="3" align='left' colsep='0' rowsep='0'>
<colspec colname="col1" colwidth='1.0*'/>
<colspec colname="col2" colwidth='1.0*' colsep='1'/>
<colspec colname="col3" colwidth="3.5*"/>
<spanspec namest="col1" nameend="col2" spanname="span-horiz"/>
<thead>
<row>
<entry align="left" spanname="span-horiz">Structure Member</entry>
<entry align="left">Contents</entry>
<row rowsep='1'>
<entry spanname="span-horiz" colsep='1'>Structure Member</entry>
<entry>Contents</entry>
</row>
</thead>
<tbody>
<row rowsep="0">
<row>
<entry>int</entry>
<entry>type</entry>
<entry>ClientMessage</entry>
</row>
<row rowsep="0">
<row>
<entry>u_long</entry>
<entry>serial</entry>
<entry>Set by the X Window System</entry>
</row>
<row rowsep="0">
<row>
<entry>Bool</entry>
<entry>send_event</entry>
<entry>Set by the X Window System</entry>
</row>
<row rowsep="0">
<row>
<entry>Display</entry>
<entry>*display</entry>
<entry>The display to which connects</entry>
</row>
<row rowsep="0">
<row>
<entry>Window</entry>
<entry>window</entry>
<entry>IMS Window ID</entry>
</row>
<row rowsep="0">
<row>
<entry>Atom</entry>
<entry>message_type</entry>
<entry>XInternAtom(display, "_XIM_CONNECT", false)</entry>
</row>
<row rowsep="0">
<row>
<entry>int</entry>
<entry>format</entry>
<entry>32</entry>
</row>
<row rowsep="0">
<row>
<entry>long</entry>
<entry>data.1[0]</entry>
<entry>client communication window ID</entry>
</row>
<row rowsep="0">
<row>
<entry>long</entry>
<entry>data.1[1]</entry>
<entry>client-major-transport-version(*1)</entry>
</row>
<row rowsep="0">
<row>
<entry>long</entry>
<entry>data.1[2]</entry>
<entry>client-major-transport-version(*1)</entry>
@ -1179,71 +1182,72 @@ window), the IM Server sends a ClientMessage in the following event's
format to the client communication window.
</para>
<table frame="none" id="clientmessage_sent_by_im_server">
<table frame="topbot" id="clientmessage_sent_by_im_server">
<?dbfo keep-together="always" ?>
<title>The ClientMessage sent by IM Server.</title>
<tgroup cols="3">
<colspec colname="col1" colwidth="1*" colsep="0"/>
<colspec colname="col2" colwidth="1*" colsep="1"/>
<colspec colname="col3" colwidth="3.5*" colsep="0"/>
<spanspec namest="col1" nameend="col2" spanname="span-horiz" align="left"/>
<tgroup cols="3" colsep='0' rowsep='0'>
<colspec colname="col1" colwidth='1.0*'/>
<colspec colname="col2" colwidth='1.0*' colsep="1"/>
<colspec colname="col3" colwidth="3.5*"/>
<spanspec namest="col1" nameend="col2" spanname="span-horiz"/>
<thead>
<row>
<entry align="left" spanname="span-horiz">Structure Member</entry>
<entry align="left">Contents</entry>
<row rowsep='1'>
<entry spanname="span-horiz" colsep='1'>Structure Member</entry>
<entry>Contents</entry>
</row>
</thead>
<tbody>
<row rowsep="0">
<row>
<entry>int</entry>
<entry>type</entry>
<entry>ClientMessage</entry>
</row>
<row rowsep="0">
<row>
<entry>u_long</entry>
<entry>serial</entry>
<entry>Set by the X Window System</entry>
</row>
<row rowsep="0">
<row>
<entry>Bool</entry>
<entry>send_event</entry>
<entry>Set by the X Window System</entry>
</row>
<row rowsep="0">
<row>
<entry>Display</entry>
<entry>*display</entry>
<entry>The display to which connects</entry>
</row>
<row rowsep="0">
<row>
<entry>Window</entry>
<entry>window</entry>
<entry>IMS Window ID</entry>
</row>
<row rowsep="0">
<row>
<entry>Atom</entry>
<entry>message_type</entry>
<entry>XInternAtom(display, "_XIM_CONNECT", false)</entry>
</row>
<row rowsep="0">
<row>
<entry>int</entry>
<entry>format</entry>
<entry>32</entry>
</row>
<row rowsep="0">
<row>
<entry>long</entry>
<entry>data.1[0]</entry>
<entry>client communication window ID</entry>
</row>
<row rowsep="0">
<row>
<entry>long</entry>
<entry>data.1[1]</entry>
<entry>client-major-transport-version(*1)</entry>
</row>
<row rowsep="0">
<row>
<entry>long</entry>
<entry>data.1[2]</entry>
<entry>client-major-transport-version(*1)</entry>
</row>
<row rowsep="0">
<row>
<entry>long</entry>
<entry>data.1[3]</entry>
<entry>dividing size between ClientMessage and Property(*2)</entry>
@ -1262,11 +1266,12 @@ major/minor-transport-version, as follows:
</para>
<table frame="all" id="readwrite_method_and_the_majorminor_transport_version">
<title>The read/write method and the major/minor-transport-version</title>
<tgroup cols="3">
<colspec colname="col1" colwidth="1*" colsep="1"/>
<colspec colname="col2" colwidth="1*" colsep="1"/>
<colspec colname="col3" colwidth="3*" colsep="1"/>
<?dbfo keep-together="always" ?>
<title>The read/write method and the major/minor-transport-version</title>
<tgroup cols="3" colsep='1' rowsep='1'>
<colspec colname="col1" colwidth='1.0*'/>
<colspec colname="col2" colwidth='1.0*'/>
<colspec colname="col3" colwidth="3.0*"/>
<spanspec namest="col1" nameend="col2" spanname="span-horiz" align="center"/>
<thead>
<row>
@ -1280,25 +1285,25 @@ major/minor-transport-version, as follows:
</row>
</thead>
<tbody>
<row rowsep="0">
<row>
<entry morerows="2">0</entry>
<entry>0</entry>
<entry>only-CM &amp; Property-with-CM</entry>
</row>
<row rowsep="0">
<row>
<entry>1</entry>
<entry>only-CM &amp; multi-CM</entry>
</row>
<row rowsep="1">
<row>
<entry>2</entry>
<entry>only-CM &amp; multi-CM &amp; Property-with-CM</entry>
</row>
<row rowsep="1">
<row>
<entry>1</entry>
<entry>0</entry>
<entry>PropertyNotify</entry>
</row>
<row rowsep="0">
<row>
<entry morerows="1">2</entry>
<entry>0</entry>
<entry>only-CM &amp; PropertyNotify</entry>
@ -1380,56 +1385,57 @@ the X Window System.
If data is sent via ClientMessage event, the format is as follows:
</para>
<table frame="none" id="clientmessage_events_format_first_or_middle">
<table frame="topbot" id="clientmessage_events_format_first_or_middle">
<?dbfo keep-together="always" ?>
<title>The ClientMessage event's format (first or middle)</title>
<tgroup cols="3">
<colspec colname="col1" colwidth="1*" colsep="0"/>
<colspec colname="col2" colwidth="1*" colsep="1"/>
<colspec colname="col3" colwidth="3.5*" colsep="0"/>
<spanspec namest="col1" nameend="col2" spanname="span-horiz" align="left"/>
<tgroup cols="3" align='left' colsep='0' rowsep='0'>
<colspec colname="col1" colwidth='1.0*'/>
<colspec colname="col2" colwidth='1.0*' colsep="1"/>
<colspec colname="col3" colwidth="3.5*"/>
<spanspec namest="col1" nameend="col2" spanname="span-horiz"/>
<thead>
<row>
<entry align="left" spanname="span-horiz">Structure Member</entry>
<entry align="left">Contents</entry>
<row rowsep='1'>
<entry spanname="span-horiz" colsep='1'>Structure Member</entry>
<entry>Contents</entry>
</row>
</thead>
<tbody>
<row rowsep="0">
<row>
<entry>int</entry>
<entry>type</entry>
<entry>ClientMessage</entry>
</row>
<row rowsep="0">
<row>
<entry>u_long</entry>
<entry>serial</entry>
<entry>Set by the X Window System</entry>
</row>
<row rowsep="0">
<row>
<entry>Bool</entry>
<entry>send_event</entry>
<entry>Set by the X Window System</entry>
</row>
<row rowsep="0">
<row>
<entry>Display</entry>
<entry>*display</entry>
<entry>The display to which connects</entry>
</row>
<row rowsep="0">
<row>
<entry>Window</entry>
<entry>window</entry>
<entry>IMS Window ID</entry>
</row>
<row rowsep="0">
<row>
<entry>Atom</entry>
<entry>message_type</entry>
<entry>XInternAtom(display, "_XIM_MOREDATA", False)</entry>
</row>
<row rowsep="0">
<row>
<entry>int</entry>
<entry>format</entry>
<entry>8</entry>
</row>
<row rowsep="0">
<row>
<entry>char</entry>
<entry>data.b[20]</entry>
<entry>(read/write DATA : 20 byte)</entry>
@ -1440,56 +1446,57 @@ If data is sent via ClientMessage event, the format is as follows:
<table frame="none" id="clientmessage_events_format_only_or_last">
<table frame="topbot" id="clientmessage_events_format_only_or_last">
<?dbfo keep-together="always" ?>
<title>The ClientMessage event's format (only or last)</title>
<tgroup cols="3">
<colspec colname="col1" colwidth="1*" colsep="0"/>
<colspec colname="col2" colwidth="1*" colsep="1"/>
<colspec colname="col3" colwidth="3.5*" colsep="0"/>
<spanspec namest="col1" nameend="col2" spanname="span-horiz" align="left"/>
<tgroup cols="3" align='left' colsep='0' rowsep='0'>
<colspec colname="col1" colwidth='1.0*'/>
<colspec colname="col2" colwidth='1.0*' colsep="1"/>
<colspec colname="col3" colwidth="3.5*"/>
<spanspec namest="col1" nameend="col2" spanname="span-horiz"/>
<thead>
<row>
<entry align="left" spanname="span-horiz">Structure Member</entry>
<entry align="left">Contents</entry>
<row rowsep='1'>
<entry spanname="span-horiz" colsep='1'>Structure Member</entry>
<entry>Contents</entry>
</row>
</thead>
<tbody>
<row rowsep="0">
<row>
<entry>int</entry>
<entry>type</entry>
<entry>ClientMessage</entry>
</row>
<row rowsep="0">
<row>
<entry>u_long</entry>
<entry>serial</entry>
<entry>Set by the X Window System</entry>
</row>
<row rowsep="0">
<row>
<entry>Bool</entry>
<entry>send_event</entry>
<entry>Set by the X Window System</entry>
</row>
<row rowsep="0">
<row>
<entry>Display</entry>
<entry>*display</entry>
<entry>The display to which connects</entry>
</row>
<row rowsep="0">
<row>
<entry>Window</entry>
<entry>window</entry>
<entry>IMS Window ID</entry>
</row>
<row rowsep="0">
<row>
<entry>Atom</entry>
<entry>message_type</entry>
<entry>XInternAtom(display, "_XIM_PROTOCOL", False)</entry>
</row>
<row rowsep="0">
<row>
<entry>int</entry>
<entry>format</entry>
<entry>8</entry>
</row>
<row rowsep="0">
<row>
<entry>char</entry>
<entry>data.b[20]</entry>
<entry>(read/write DATA : MAX 20 byte)
@ -1534,51 +1541,52 @@ The arguments of the XChangeProperty are as follows:
</para>
<table frame="none" id="xchangeproperty_events_format">
<table frame="topbot" id="xchangeproperty_events_format">
<?dbfo keep-together="always" ?>
<title>The XChangeProperty event's format</title>
<tgroup cols="3">
<colspec colname="col1" colwidth="1*" colsep="0"/>
<colspec colname="col2" colwidth="1*" colsep="1"/>
<colspec colname="col3" colwidth="3.5*" colsep="0"/>
<tgroup cols="3" align='left' colsep='0' rowsep='0'>
<colspec colname="col1" colwidth='1.0*'/>
<colspec colname="col2" colwidth='1.0*' colsep="1"/>
<colspec colname="col3" colwidth="3.5*"/>
<spanspec namest="col1" nameend="col2" spanname="span-horiz" align="left"/>
<thead>
<row>
<entry align="left" spanname="span-horiz">Argument</entry>
<entry align="left">Contents</entry>
<row rowsep='1'>
<entry spanname="span-horiz" colsep='1'>Argument</entry>
<entry>Contents</entry>
</row>
</thead>
<tbody>
<row rowsep="0">
<row>
<entry>Display</entry>
<entry>*display</entry>
<entry>The display to which connects</entry>
</row>
<row rowsep="0">
<row>
<entry>Window</entry>
<entry>window</entry>
<entry>IMS communication window ID</entry>
</row>
<row rowsep="0">
<row>
<entry>Atom</entry>
<entry>property</entry>
<entry>read/write property Atom (*1)</entry>
</row>
<row rowsep="0">
<row>
<entry>int</entry>
<entry>format</entry>
<entry>8</entry>
</row>
<row rowsep="0">
<row>
<entry>int</entry>
<entry>mode</entry>
<entry>PropModeAppend</entry>
</row>
<row rowsep="0">
<row>
<entry>u_char</entry>
<entry>*data</entry>
<entry>read/write DATA</entry>
</row>
<row rowsep="0">
<row>
<entry>int</entry>
<entry>nelements</entry>
<entry>length of DATA</entry>
@ -1603,61 +1611,62 @@ If Atom is notified via ClientMessage event, the format of the ClientMessage
is as follows:
</para>
<table frame="none" id="clientmessage_events_format_to_send_atom_of_property">
<table frame="topbot" id="clientmessage_events_format_to_send_atom_of_property">
<?dbfo keep-together="always" ?>
<title>The ClientMessage event's format to send Atom of property</title>
<tgroup cols="3">
<colspec colname="col1" colwidth="1*" colsep="0"/>
<colspec colname="col2" colwidth="1*" colsep="1"/>
<colspec colname="col3" colwidth="3.5*" colsep="0"/>
<spanspec namest="col1" nameend="col2" spanname="span-horiz" align="left"/>
<tgroup cols="3" align='left' colsep='0' rowsep='0'>
<colspec colname="col1" colwidth='1.0*'/>
<colspec colname="col2" colwidth='1.0*' colsep="1"/>
<colspec colname="col3" colwidth="3.5*"/>
<spanspec namest="col1" nameend="col2" spanname="span-horiz"/>
<thead>
<row>
<entry align="left" spanname="span-horiz">Structure Member</entry>
<entry align="left">Contents</entry>
<row rowsep='1'>
<entry spanname="span-horiz" colsep='1'>Structure Member</entry>
<entry>Contents</entry>
</row>
</thead>
<tbody>
<row rowsep="0">
<row>
<entry>int</entry>
<entry>type</entry>
<entry>ClientMessage</entry>
</row>
<row rowsep="0">
<row>
<entry>u_long</entry>
<entry>serial</entry>
<entry>Set by the X Window System</entry>
</row>
<row rowsep="0">
<row>
<entry>Bool</entry>
<entry>send_event</entry>
<entry>Set by the X Window System</entry>
</row>
<row rowsep="0">
<row>
<entry>Display</entry>
<entry>*display</entry>
<entry>The display to which connects</entry>
</row>
<row rowsep="0">
<row>
<entry>Window</entry>
<entry>window</entry>
<entry>IMS Window ID</entry>
</row>
<row rowsep="0">
<row>
<entry>Atom</entry>
<entry>message_type</entry>
<entry>XInternAtom(display, "_XIM_PROTOCOL", False)</entry>
</row>
<row rowsep="0">
<row>
<entry>int</entry>
<entry>format</entry>
<entry>8</entry>
</row>
<row rowsep="0">
<row>
<entry>long</entry>
<entry>data.1[0]</entry>
<entry>length of read/write property Atom</entry>
</row>
<row rowsep="0">
<row>
<entry>long</entry>
<entry>data.1[1]</entry>
<entry>read/write property Atom</entry>
@ -1677,56 +1686,57 @@ is as follows:
The format of the ClientMessage is as follows:
</para>
<table frame="none" id="clientmessage_events_format_first_or_middle_2">
<table frame="topbot" id="clientmessage_events_format_first_or_middle_2">
<?dbfo keep-together="always" ?>
<title>The ClientMessage event's format (first or middle)</title>
<tgroup cols="3">
<colspec colname="col1" colwidth="1*" colsep="0"/>
<colspec colname="col2" colwidth="1*" colsep="1"/>
<colspec colname="col3" colwidth="3.5*" colsep="0"/>
<spanspec namest="col1" nameend="col2" spanname="span-horiz" align="left"/>
<tgroup cols="3" align='left' colsep='0' rowsep='0'>
<colspec colname="col1" colwidth='1.0*'/>
<colspec colname="col2" colwidth='1.0*' colsep="1"/>
<colspec colname="col3" colwidth="3.5*"/>
<spanspec namest="col1" nameend="col2" spanname="span-horiz"/>
<thead>
<row>
<entry align="left" spanname="span-horiz">Structure Member</entry>
<entry align="left">Contents</entry>
<row rowsep='1'>
<entry spanname="span-horiz" colsep='1'>Structure Member</entry>
<entry>Contents</entry>
</row>
</thead>
<tbody>
<row rowsep="0">
<row>
<entry>int</entry>
<entry>type</entry>
<entry>ClientMessage</entry>
</row>
<row rowsep="0">
<row>
<entry>u_long</entry>
<entry>serial</entry>
<entry>Set by the X Window System</entry>
</row>
<row rowsep="0">
<row>
<entry>Bool</entry>
<entry>send_event</entry>
<entry>Set by the X Window System</entry>
</row>
<row rowsep="0">
<row>
<entry>Display</entry>
<entry>*display</entry>
<entry>The display to which connects</entry>
</row>
<row rowsep="0">
<row>
<entry>Window</entry>
<entry>window</entry>
<entry>IMS Window ID</entry>
</row>
<row rowsep="0">
<row>
<entry>Atom</entry>
<entry>message_type</entry>
<entry>XInternAtom(display, "_XIM_MOREDATA", False)</entry>
</row>
<row rowsep="0">
<row>
<entry>int</entry>
<entry>format</entry>
<entry>8</entry>
</row>
<row rowsep="0">
<row>
<entry>char</entry>
<entry>data.b[20]</entry>
<entry>(read/write DATA : 20 byte)</entry>
@ -1739,56 +1749,57 @@ The format of the ClientMessage is as follows:
<table frame="none" id="clientmessage_events_format_only_or_last_2">
<table frame="topbot" id="clientmessage_events_format_only_or_last_2">
<?dbfo keep-together="always" ?>
<title>The ClientMessage event's format (only or last)</title>
<tgroup cols="3">
<colspec colname="col1" colwidth="1*" colsep="0"/>
<colspec colname="col2" colwidth="1*" colsep="1"/>
<colspec colname="col3" colwidth="3.5*" colsep="0"/>
<spanspec namest="col1" nameend="col2" spanname="span-horiz" align="left"/>
<tgroup cols="3" align='left' colsep='0' rowsep='0'>
<colspec colname="col1" colwidth='1.0*'/>
<colspec colname="col2" colwidth='1.0*' colsep="1"/>
<colspec colname="col3" colwidth="3.5*"/>
<spanspec namest="col1" nameend="col2" spanname="span-horiz"/>
<thead>
<row>
<entry align="left" spanname="span-horiz">Structure Member</entry>
<entry align="left">Contents</entry>
<row rowsep='1'>
<entry spanname="span-horiz" colsep='1'>Structure Member</entry>
<entry>Contents</entry>
</row>
</thead>
<tbody>
<row rowsep="0">
<row>
<entry>int</entry>
<entry>type</entry>
<entry>ClientMessage</entry>
</row>
<row rowsep="0">
<row>
<entry>u_long</entry>
<entry>serial</entry>
<entry>Set by the X Window System</entry>
</row>
<row rowsep="0">
<row>
<entry>Bool</entry>
<entry>send_event</entry>
<entry>Set by the X Window System</entry>
</row>
<row rowsep="0">
<row>
<entry>Display</entry>
<entry>*display</entry>
<entry>The display to which connects</entry>
</row>
<row rowsep="0">
<row>
<entry>Window</entry>
<entry>window</entry>
<entry>IMS Window ID</entry>
</row>
<row rowsep="0">
<row>
<entry>Atom</entry>
<entry>message_type</entry>
<entry>XInternAtom(display, "_XIM_PROTOCOL", False)</entry>
</row>
<row rowsep="0">
<row>
<entry>int</entry>
<entry>format</entry>
<entry>8</entry>
</row>
<row rowsep="0">
<row>
<entry>char</entry>
<entry>data.b[20]</entry>
<entry>(read/write DATA : MAX 20 byte) (*1)</entry>
@ -1833,51 +1844,52 @@ PropertyNotify event.
The arguments of the XChangeProperty are as follows:
</para>
<table frame="none" id="xchangeproperty_events_format_b">
<table frame="topbot" id="xchangeproperty_events_format_b">
<?dbfo keep-together="always" ?>
<title>The XChangeProperty event's format</title>
<tgroup cols="3">
<colspec colname="col1" colwidth="1*" colsep="0"/>
<colspec colname="col2" colwidth="1*" colsep="1"/>
<colspec colname="col3" colwidth="3.5*" colsep="0"/>
<tgroup cols="3" align='left' colsep='0' rowsep='0'>
<colspec colname="col1" colwidth='1.0*'/>
<colspec colname="col2" colwidth='1.0*' colsep="1"/>
<colspec colname="col3" colwidth="3.5*"/>
<spanspec namest="col1" nameend="col2" spanname="span-horiz" align="left"/>
<thead>
<row>
<entry align="left" spanname="span-horiz">Argument</entry>
<entry align="left">Contents</entry>
<row rowsep='1'>
<entry spanname="span-horiz" colsep='1'>Argument</entry>
<entry>Contents</entry>
</row>
</thead>
<tbody>
<row rowsep="0">
<row>
<entry>Display</entry>
<entry>*display</entry>
<entry>The display to which connects</entry>
</row>
<row rowsep="0">
<row>
<entry>Window</entry>
<entry>window</entry>
<entry>IMS communication window ID</entry>
</row>
<row rowsep="0">
<row>
<entry>Atom</entry>
<entry>property</entry>
<entry>read/write property Atom (*1)</entry>
</row>
<row rowsep="0">
<row>
<entry>int</entry>
<entry>format</entry>
<entry>8</entry>
</row>
<row rowsep="0">
<row>
<entry>int</entry>
<entry>mode</entry>
<entry>PropModeAppend</entry>
</row>
<row rowsep="0">
<row>
<entry>u_char</entry>
<entry>*data</entry>
<entry>read/write DATA</entry>
</row>
<row rowsep="0">
<row>
<entry>int</entry>
<entry>nelements</entry>
<entry>length of DATA</entry>
@ -1901,61 +1913,62 @@ If Atom is notified via ClientMessage event, the format of the ClientMessage
is as follows:
</para>
<table frame="none" id="clientmessage_events_format_to_send_atom_of_property_2">
<table frame="topbot" id="clientmessage_events_format_to_send_atom_of_property_2">
<?dbfo keep-together="always" ?>
<title>The ClientMessage event's format to send Atom of property</title>
<tgroup cols="3">
<colspec colname="col1" colwidth="1*" colsep="0"/>
<colspec colname="col2" colwidth="1*" colsep="1"/>
<colspec colname="col3" colwidth="3.5*" colsep="0"/>
<spanspec namest="col1" nameend="col2" spanname="span-horiz" align="left"/>
<tgroup cols="3" align='left' colsep='0' rowsep='0'>
<colspec colname="col1" colwidth='1.0*'/>
<colspec colname="col2" colwidth='1.0*' colsep="1"/>
<colspec colname="col3" colwidth="3.5*"/>
<spanspec namest="col1" nameend="col2" spanname="span-horiz"/>
<thead>
<row>
<entry align="left" spanname="span-horiz">Structure Member</entry>
<entry align="left">Contents</entry>
<row rowsep='1'>
<entry spanname="span-horiz" colsep='1'>Structure Member</entry>
<entry>Contents</entry>
</row>
</thead>
<tbody>
<row rowsep="0">
<row>
<entry>int</entry>
<entry>type</entry>
<entry>ClientMessage</entry>
</row>
<row rowsep="0">
<row>
<entry>u_long</entry>
<entry>serial</entry>
<entry>Set by the X Window System</entry>
</row>
<row rowsep="0">
<row>
<entry>Bool</entry>
<entry>send_event</entry>
<entry>Set by the X Window System</entry>
</row>
<row rowsep="0">
<row>
<entry>Display</entry>
<entry>*display</entry>
<entry>The display to which connects</entry>
</row>
<row rowsep="0">
<row>
<entry>Window</entry>
<entry>window</entry>
<entry>IMS Window ID</entry>
</row>
<row rowsep="0">
<row>
<entry>Atom</entry>
<entry>message_type</entry>
<entry>XInternAtom(display, "_XIM_PROTOCOL", False)</entry>
</row>
<row rowsep="0">
<row>
<entry>int</entry>
<entry>format</entry>
<entry>8</entry>
</row>
<row rowsep="0">
<row>
<entry>long</entry>
<entry>data.1[0]</entry>
<entry>length of read/write property Atom</entry>
</row>
<row rowsep="0">
<row>
<entry>long</entry>
<entry>data.1[1]</entry>
<entry>read/write property Atom</entry>

View file

@ -9,13 +9,16 @@ and the X protocol.
The following table lists each Xlib function (in alphabetical order)
and the corresponding protocol request that it generates.
</para>
<table>
<table frame='topbot'>
<?dbfo keep-together="auto" ?>
<title>Protocol requests made by each Xlib function</title>
<tgroup cols="2">
<tgroup cols="2" align='left' colsep='0' rowsep='0'>
<colspec colname="col1" colwidth="1.0*"/>
<colspec colname="col2" colwidth="1.0*"/>
<thead>
<row>
<entry align='left'>Xlib Function</entry>
<entry align='left'>Protocol Request</entry>
<row rowsep='1'>
<entry>Xlib Function</entry>
<entry>Protocol Request</entry>
</row>
</thead>
<tbody>
@ -1057,13 +1060,16 @@ and the corresponding protocol request that it generates.
The following table lists each X protocol request (in alphabetical
order) and the Xlib functions that reference it.
</para>
<table>
<table frame='topbot'>
<?dbfo keep-together="auto" ?>
<title>Xlib functions which use each Protocol Request</title>
<tgroup cols="2">
<tgroup cols="2" align='left' colsep='0' rowsep='0'>
<colspec colname="col1" colwidth="1.0*"/>
<colspec colname="col2" colwidth="1.0*"/>
<thead>
<row>
<entry align='left'>Protocol Request</entry>
<entry align='left'>Xlib Function</entry>
<row rowsep='1'>
<entry>Protocol Request</entry>
<entry>Xlib Function</entry>
</row>
</thead>
<tbody>

View file

@ -425,14 +425,15 @@ and
<symbol>InputOnly</symbol>
windows:
</para>
<informaltable>
<tgroup cols='4'>
<colspec colname='c1' align='left'/>
<colspec colname='c2' align='left'/>
<colspec colname='c3' align='center'/>
<colspec colname='c4' align='center'/>
<informaltable frame='topbot'>
<?dbfo keep-together="auto" ?>
<tgroup cols='4' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<colspec colname='c3' colwidth='1.0*'/>
<colspec colname='c4' colwidth='1.0*'/>
<thead>
<row>
<row rowsep='1'>
<entry>Attribute</entry>
<entry>Default</entry>
<entry>InputOutput</entry>
@ -757,12 +758,13 @@ change of width and height, the (x, y) pairs are defined:
</para>
<para>
<!-- .LP -->
<informaltable>
<tgroup cols='2'>
<colspec colname='c1' align='left'/>
<colspec colname='c2' align='left'/>
<informaltable frame='topbot'>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='2.0*'/>
<thead>
<row>
<row rowsep='1'>
<entry>Gravity Direction</entry>
<entry>Coordinates</entry>
</row>
@ -2438,9 +2440,10 @@ If a sibling and a stack_mode are specified,
the window is restacked as follows:
</para>
<informaltable frame="none">
<tgroup cols='2'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='3.0*'/>
<tbody>
<row>
<entry><symbol>Above</symbol></entry>
@ -2477,9 +2480,10 @@ the window is restacked as follows:
</para>
<informaltable frame="none">
<tgroup cols='2'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='3.0*'/>
<tbody>
<row>
<entry><symbol>Above</symbol></entry>

View file

@ -6995,16 +6995,17 @@ Conversion functions are available globally for use by other color
spaces.
The conversion functions provided by Xlib are:
</para>
<informaltable>
<tgroup cols='3'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<colspec colname='c3'/>
<informaltable frame='topbot'>
<?dbfo keep-together="auto" ?>
<tgroup cols='3' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<colspec colname='c3' colwidth='1.0*'/>
<thead>
<row>
<entry align='center'>Function</entry>
<entry align='center'>Converts from</entry>
<entry align='center'>Converts to</entry>
<row rowsep='1'>
<entry>Function</entry>
<entry>Converts from</entry>
<entry>Converts to</entry>
</row>
</thead>
<tbody>

View file

@ -136,14 +136,15 @@ typedef struct {
<!-- .eM -->
The default GC values are:
</para>
<informaltable>
<tgroup cols='2'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<informaltable frame='topbot'>
<?dbfo keep-together="auto" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<thead>
<row>
<entry align='center'>Component</entry>
<entry align='center'>Default</entry>
<row rowsep='1'>
<entry>Component</entry>
<entry>Default</entry>
</row>
</thead>
<tbody>
@ -278,16 +279,17 @@ are:
<!-- .\" and operation. -->
<!-- .\".CP T 1 -->
<!-- .\"Display Functions -->
<informaltable>
<tgroup cols='3'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<colspec colname='c3'/>
<informaltable frame='topbot'>
<?dbfo keep-together="auto" ?>
<tgroup cols='3' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<colspec colname='c3' colwidth='1.0*'/>
<thead>
<row>
<entry align='center'>Function Name</entry>
<entry align='center'>Value</entry>
<entry align='center'>Operation</entry>
<row rowsep='1'>
<entry>Function Name</entry>
<entry>Value</entry>
<entry>Operation</entry>
</row>
</thead>
<tbody>
@ -626,11 +628,12 @@ when the cap-style is applied to both endpoints,
the semantics depends on the line-width and the cap-style:
</para>
<informaltable>
<tgroup cols='3'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<colspec colname='c3'/>
<informaltable frame='none'>
<?dbfo keep-together="always" ?>
<tgroup cols='3' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<colspec colname='c3' colwidth='3.0*'/>
<tbody>
<row>
<entry><symbol>CapNotLast</symbol></entry>
@ -741,10 +744,11 @@ or
the following apply:
</para>
<informaltable>
<tgroup cols='2'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<informaltable frame='none'>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='2.0*'/>
<tbody>
<row>
<entry><symbol>FillSolid</symbol></entry>
@ -775,10 +779,11 @@ When drawing lines with line-style
the odd dashes are controlled by the fill-style in the following manner:
</para>
<informaltable>
<tgroup cols='2'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<informaltable frame='none'>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='2.0*'/>
<tbody>
<row>
<entry><symbol>FillSolid</symbol></entry>

View file

@ -79,14 +79,15 @@ The processing associated with these events is discussed in section 10.5.
</para>
<para>
<!-- .LP -->
<informaltable>
<tgroup cols='2'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<informaltable frame='topbot'>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='4.0*'/>
<thead>
<row>
<entry align='left'>Event Category</entry>
<entry align='left'>Event Type</entry>
<row rowsep='1'>
<entry>Event Category</entry>
<entry>Event Type</entry>
</row>
</thead>
<tbody>
@ -369,14 +370,15 @@ event mask:
<!-- .LP -->
<!-- .\" .CP T 2 -->
<!-- .\"Event Mask Definitions -->
<informaltable>
<tgroup cols='2'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<informaltable frame='topbot'>
<?dbfo keep-together="auto" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='2.5*'/>
<thead>
<row>
<entry align='left'>Event Mask</entry>
<entry align='left'>Circumstances</entry>
<row rowsep='1'>
<entry>Event Mask</entry>
<entry>Circumstances</entry>
</row>
</thead>
<tbody>
@ -557,18 +559,19 @@ Note that N.A. appears in columns for which the information is not applicable.
<!-- .LP -->
<!-- .ps 9 -->
<!-- .nr PS 9 -->
<informaltable>
<tgroup cols='4'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<colspec colname='c3'/>
<colspec colname='c4'/>
<informaltable frame='topbot'>
<?dbfo keep-together="auto" ?>
<tgroup cols='4' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.2*'/>
<colspec colname='c2' colwidth='1.0*'/>
<colspec colname='c3' colwidth='1.2*'/>
<colspec colname='c4' colwidth='1.0*'/>
<thead>
<row>
<entry align='left'>Event Mask</entry>
<entry align='left'>Event Type</entry>
<entry align='left'>Structure</entry>
<entry align='left'>Generic Structure</entry>
<row rowsep='1'>
<entry>Event Mask</entry>
<entry>Event Type</entry>
<entry>Structure</entry>
<entry>Generic Structure</entry>
</row>
</thead>
<tbody>
@ -890,14 +893,15 @@ The effect is essentially equivalent to an
<xref linkend='XGrabButton' xrefstyle='select: title'/>
with these client passed arguments:
</para>
<informaltable>
<tgroup cols='2'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<informaltable frame='topbot'>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='4.0*'/>
<thead>
<row>
<entry align='left'>Argument</entry>
<entry align='left'>Value</entry>
<row rowsep='1'>
<entry>Argument</entry>
<entry>Value</entry>
</row>
</thead>
<tbody>
@ -1287,14 +1291,15 @@ or
Some of the symbols mentioned in this section have fixed values, as
follows:
</para>
<informaltable>
<tgroup cols='2'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<informaltable frame='topbot'>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='3.0*'/>
<thead>
<row>
<entry align='left'>Symbol</entry>
<entry align='left'>Value</entry>
<row rowsep='1'>
<entry>Symbol</entry>
<entry>Value</entry>
</row>
</thead>
<tbody>

View file

@ -2049,14 +2049,15 @@ chapter:
<indexterm significance="preferred"><primary>BadFont</primary></indexterm>
<indexterm significance="preferred"><primary>BadGC</primary></indexterm>
<indexterm significance="preferred"><primary>BadIDChoice</primary></indexterm>
<informaltable frame='none'>
<tgroup cols='2'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<informaltable frame='topbot'>
<?dbfo keep-together="auto" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='3.5*'/>
<thead>
<row>
<entry align='left'>Error Code</entry>
<entry align='left'>Description</entry>
<row rowsep='1'>
<entry>Error Code</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>

View file

@ -1573,9 +1573,10 @@ is later than the current X server time.
Depending on the event_mode argument, the following occurs:
</para>
<informaltable frame='none'>
<tgroup cols='2'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='4.0*'/>
<tbody>
<row>
<entry><symbol>AsyncPointer</symbol></entry>

View file

@ -286,16 +286,17 @@ For each locale-dependent function,
the following table describes the locale (and modifiers) dependency:
</para>
<informaltable>
<tgroup cols='3'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<colspec colname='c3'/>
<informaltable frame='topbot'>
<?dbfo keep-together="auto" ?>
<tgroup cols='3' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='2.5*'/>
<colspec colname='c3' colwidth='1.5*'/>
<thead>
<row>
<entry align='center'>Locale from</entry>
<entry align='center'>Affects the Function</entry>
<entry align='center'>In</entry>
<row rowsep='1'>
<entry>Locale from</entry>
<entry>Affects the Function</entry>
<entry>In</entry>
</row>
</thead>
<tbody>
@ -1028,14 +1029,15 @@ how each of the <acronym>XOM</acronym> values are treated by a particular output
The following key applies to this table.
</para>
<informaltable>
<tgroup cols='2'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<informaltable frame='topbot'>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='4.0*'/>
<thead>
<row>
<entry align='left'>Key</entry>
<entry align='left'>Explanation</entry>
<row rowsep='1'>
<entry>Key</entry>
<entry>Explanation</entry>
</row>
</thead>
<tbody>
@ -1049,14 +1051,15 @@ The following key applies to this table.
<para></para>
<informaltable>
<tgroup cols='2'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<informaltable frame='topbot'>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<thead>
<row>
<entry align='left'><acronym>XOM</acronym> Value</entry>
<entry align='left'>Key</entry>
<row rowsep='1'>
<entry><acronym>XOM</acronym> Value</entry>
<entry>Key</entry>
</row>
</thead>
<tbody>
@ -1639,14 +1642,15 @@ The third column indicates how each of the <acronym>XOC</acronym> values is trea
<para>
The following keys apply to this table.
</para>
<informaltable>
<tgroup cols='2'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<informaltable frame='topbot'>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='4.0*'/>
<thead>
<row>
<entry align='left'>Key</entry>
<entry align='left'>Explanation</entry>
<row rowsep='1'>
<entry>Key</entry>
<entry>Explanation</entry>
</row>
</thead>
<tbody>
@ -1673,13 +1677,14 @@ The following keys apply to this table.
<para></para>
<informaltable>
<tgroup cols='3'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<colspec colname='c3'/>
<informaltable frame='topbot'>
<?dbfo keep-together="always" ?>
<tgroup cols='3' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<colspec colname='c3' colwidth='1.0*'/>
<thead>
<row>
<row rowsep='1'>
<entry align='left'><acronym>XOC</acronym> Value</entry>
<entry align='left'>Alternative Interface</entry>
<entry align='left'>Key</entry>
@ -5001,10 +5006,11 @@ Such customization may be desired without restarting the entire client.
To support management of input methods in these cases, the following
functions are provided:
</para>
<informaltable>
<tgroup cols='2'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<informaltable frame='none'>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<tbody>
<row>
<entry><xref linkend='XRegisterIMInstantiateCallback' xrefstyle='select: title'/></entry>
@ -5743,14 +5749,15 @@ are treated by that input style.
<!-- .LP -->
The following keys apply to this table.
</para>
<informaltable>
<tgroup cols='2'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<informaltable frame='topbot'>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='4.0*'/>
<thead>
<row>
<entry align='left'>Key</entry>
<entry align='left'>Explanation</entry>
<row rowsep='1'>
<entry>Key</entry>
<entry>Explanation</entry>
</row>
</thead>
<tbody>
@ -5775,14 +5782,15 @@ The following keys apply to this table.
<para></para>
<informaltable>
<tgroup cols='2'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<informaltable frame='topbot'>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<thead>
<row>
<entry align='left'><acronym>XIM</acronym> Value</entry>
<entry align='left'>Key</entry>
<row rowsep='1'>
<entry><acronym>XIM</acronym> Value</entry>
<entry>Key</entry>
</row>
</thead>
<tbody>
@ -5930,10 +5938,11 @@ by the input method for preedit information.
<indexterm significance="preferred"><primary>XIMPreeditCallbacks</primary></indexterm>
<indexterm significance="preferred"><primary>XIMPreeditNothing</primary></indexterm>
<indexterm significance="preferred"><primary>XIMPreeditNone</primary></indexterm>
<informaltable>
<tgroup cols='2'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<informaltable frame='none'>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='2.0*'/>
<tbody>
<row>
<entry><symbol>XIMPreeditArea</symbol></entry>
@ -5988,10 +5997,11 @@ by the input method for status information.
<indexterm significance="preferred"><primary>XIMStatusCallbacks</primary></indexterm>
<indexterm significance="preferred"><primary>XIMStatusNothing</primary></indexterm>
<indexterm significance="preferred"><primary>XIMStatusNone</primary></indexterm>
<informaltable>
<tgroup cols='2'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<informaltable frame='none'>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='2.0*'/>
<tbody>
<row>
<entry><symbol>XIMStatusArea</symbol></entry>
@ -6831,12 +6841,13 @@ are treated by that input style.
<!-- .LP -->
The following keys apply to these tables.
</para>
<informaltable>
<tgroup cols='2'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<informaltable frame='topbot'>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='4.0*'/>
<thead>
<row>
<row rowsep='1'>
<entry align='left'>Key</entry>
<entry align='left'>Explanation</entry>
</row>
@ -6895,17 +6906,18 @@ The following keys apply to these tables.
<para></para>
<!-- .LP -->
<informaltable>
<tgroup cols='7'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<colspec colname='c3'/>
<colspec colname='c4'/>
<colspec colname='c5'/>
<colspec colname='c6'/>
<colspec colname='c7'/>
<informaltable frame='topbot'>
<?dbfo keep-together="auto" ?>
<tgroup cols='7' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<colspec colname='c3' colwidth='1.0*'/>
<colspec colname='c4' colwidth='1.0*'/>
<colspec colname='c5' colwidth='1.0*'/>
<colspec colname='c6' colwidth='1.0*'/>
<colspec colname='c7' colwidth='1.0*'/>
<thead>
<row>
<row rowsep='1'>
<entry><acronym>XIC</acronym> Value</entry>
<entry>Geometry Mangement</entry>
<entry>Preedit Callback</entry>
@ -7160,16 +7172,17 @@ The following keys apply to these tables.
<para></para>
<!-- .LP -->
<informaltable>
<tgroup cols='6'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<colspec colname='c3'/>
<colspec colname='c4'/>
<colspec colname='c5'/>
<colspec colname='c6'/>
<informaltable frame='topbot'>
<?dbfo keep-together="auto" ?>
<tgroup cols='6' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<colspec colname='c3' colwidth='1.0*'/>
<colspec colname='c4' colwidth='1.0*'/>
<colspec colname='c5' colwidth='1.0*'/>
<colspec colname='c6' colwidth='1.0*'/>
<thead>
<row>
<row rowsep='1'>
<entry><acronym>XIC</acronym> Value</entry>
<entry>Geomentry Management</entry>
<entry>Status Callback</entry>
@ -7815,13 +7828,14 @@ When a modifier_mask bit is set to 0, the state of the associated modifier
is ignored when evaluating whether the key is hot or not.
</para>
<informaltable>
<tgroup cols='3'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<colspec colname='c3'/>
<informaltable frame='topbot'>
<?dbfo keep-together="always" ?>
<tgroup cols='3' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='1.0*'/>
<colspec colname='c3' colwidth='3.0*'/>
<thead>
<row>
<row rowsep='1'>
<entry>Modifier Bit</entry>
<entry>Mask Bit</entry>
<entry>Meaning</entry>
@ -8382,10 +8396,11 @@ The set of preedit callbacks is as follows:
<indexterm significance="preferred"><primary>XNPreeditDoneCallback</primary></indexterm>
<indexterm significance="preferred"><primary>XNPreeditDrawCallback</primary></indexterm>
<indexterm significance="preferred"><primary>XNPreeditCaretCallback</primary></indexterm>
<informaltable>
<tgroup cols='2'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<informaltable frame='topbot'>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='2.0*'/>
<tbody>
<row>
<entry><symbol>XNPreeditStartCallback</symbol></entry>
@ -8418,10 +8433,11 @@ The set of status callbacks is as follows:
<indexterm significance="preferred"><primary>XNStatusStartCallback</primary></indexterm>
<indexterm significance="preferred"><primary>XNStatusDoneCallback</primary></indexterm>
<indexterm significance="preferred"><primary>XNStatusDrawCallback</primary></indexterm>
<informaltable>
<tgroup cols='2'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<informaltable frame='topbot'>
<?dbfo keep-together="always" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='2.0*'/>
<tbody>
<row>
<entry><symbol>XNStatusStartCallback</symbol></entry>
@ -9520,10 +9536,11 @@ These values are defined as follows:
<indexterm significance="preferred"><primary>XIMBackwardWord</primary></indexterm>
<indexterm significance="preferred"><primary>XIMCaretUp</primary></indexterm>
<indexterm significance="preferred"><primary>XIMCaretDown</primary></indexterm>
<informaltable>
<tgroup cols='2'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<informaltable frame='none'>
<?dbfo keep-together="auto" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='1.5*'/>
<tbody>
<row>
<entry><constant>XIMForwardChar</constant></entry>
@ -10104,10 +10121,11 @@ that indicates what has been returned in the other arguments.
The possible values returned are:
</para>
<informaltable>
<tgroup cols='2'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<informaltable frame='none'>
<?dbfo keep-together="auto" ?>
<tgroup cols='2' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='1.0*'/>
<colspec colname='c2' colwidth='2.0*'/>
<tbody>
<row>
<entry><symbol>XBufferOverflow</symbol></entry>

View file

@ -30,18 +30,19 @@ The standard properties that are of special interest for communicating with wind
managers are:
</para>
<informaltable>
<tgroup cols='4'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<colspec colname='c3'/>
<colspec colname='c4'/>
<informaltable frame='topbot'>
<?dbfo keep-together="always" ?>
<tgroup cols='4' align='left' colsep='0' rowsep='0'>
<colspec colname='c1' colwidth='3.0*'/>
<colspec colname='c2' colwidth='2.3*'/>
<colspec colname='c3' colwidth='0.9*'/>
<colspec colname='c4' colwidth='2.7*'/>
<thead>
<row>
<entry align='center'>Name</entry>
<entry align='center'>Type</entry>
<entry align='center'>Format</entry>
<entry align='center'>Description</entry>
<row rowsep='1'>
<entry>Name</entry>
<entry>Type</entry>
<entry>Format</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>