[PATCH libXi] man: improve readability of XAllowDeviceEvents.

Peter Hutterer peter.hutterer at who-t.net
Sun Aug 1 22:43:51 PDT 2010


Parse the options to event-mode as a list. This requires un-indenting the
rest, otherwise the asciidoc/xmlto conversion will indent the trailing
paragraphs more than the list

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 man/XAllowDeviceEvents.txt |   56 ++++++++++++++++++++++----------------------
 1 files changed, 28 insertions(+), 28 deletions(-)

diff --git a/man/XAllowDeviceEvents.txt b/man/XAllowDeviceEvents.txt
index 91d358c..ba7fde3 100644
--- a/man/XAllowDeviceEvents.txt
+++ b/man/XAllowDeviceEvents.txt
@@ -34,16 +34,16 @@ SYNOPSIS
 DESCRIPTION
 -----------
 
-   The XAllowDeviceEvents function releases some queued events if
-   the client has caused a device to freeze. It has no effect if
-   the specified time is earlier than the last-grab time of the
-   most recent active grab for the client and device, or if the
-   specified time is later than the current X server time.
+The XAllowDeviceEvents function releases some queued events if
+the client has caused a device to freeze. It has no effect if
+the specified time is earlier than the last-grab time of the
+most recent active grab for the client and device, or if the
+specified time is later than the current X server time.
 
-   The following describes the processing that occurs depending on
-   what constant you pass to the event_mode argument.
+The following describes the processing that occurs depending on
+what constant you pass to the event_mode argument.
 
-   AsyncThisDevice If the specified device is frozen by the
+   * AsyncThisDevice - If the specified device is frozen by the
    client, event processing for that device continues as usual. If
    the device is frozen multiple times by the client on behalf of
    multiple separate grabs, AsyncThisDevice thaws for
@@ -51,7 +51,7 @@ DESCRIPTION
    not frozen by the client, but the device need not be grabbed by
    the client.
 
-   SyncThisDevice If the specified device is frozen and actively
+   * SyncThisDevice - If the specified device is frozen and actively
    grabbed by the client, event processing for that device
    continues normally until the next key or button event is
    reported to the client. At this time, the specified device
@@ -60,7 +60,7 @@ DESCRIPTION
    SyncThisDevice has no effect if the specified device is not
    frozen by the client or is not grabbed by the client.
 
-   ReplayThisDevice If the specified device is actively grabbed by
+   * ReplayThisDevice - If the specified device is actively grabbed by
    the client and is frozen as the result of an event having been
    sent to the client (either from the activation of a
    GrabDeviceButton or from a previous AllowDeviceEvents with mode
@@ -72,14 +72,14 @@ DESCRIPTION
    not grabbed by the client or if it is not frozen as the result
    of an event.
 
-   AsyncOtherDevices If the remaining devices are frozen by the
+   * AsyncOtherDevices - If the remaining devices are frozen by the
    client, event processing for them continues as usual. If the
    other devices are frozen multiple times by the client on behalf
    of multiple grabs, AsyncOtherDevices "thaws" for all.
    AsyncOtherDevices has no effect if the devices are not frozen
    by the client.
 
-   SyncAll If all devices are frozen by the client, event
+   * SyncAll - If all devices are frozen by the client, event
    processing (for all devices) continues normally until the next
    button or key event is reported to the client for a grabbed
    device, at which time all devices again appear to freeze.
@@ -92,27 +92,27 @@ DESCRIPTION
    subsequent freeze for SyncAll will only freeze each device
    once.
 
-   AsyncAll If all devices are frozen by the client, event
+   * AsyncAll - If all devices are frozen by the client, event
    processing for all devices continues normally. If any device is
    frozen multiple times by the client on behalf of multiple
    separate grabs, AsyncAll thaws for all. AsyncAll has no effect
    unless all devices are frozen by the client.
 
-   AsyncThisDevice, SyncThisDevice, and ReplayThisDevice have no
-   effect on the processing of events from the remaining
-   devices.AsyncOtherDevices has no effect on the processing of
-   events from the specified device. When the event_mode is
-   SyncAll or AsyncAll, the device parameter is ignored.
-
-   It is possible for several grabs of different devices by the
-   same or different clients to be active simultaneously. If a
-   device is frozen on behalf of any grab, no event processing is
-   performed for the device. It is possible for a single device to
-   be frozen because of several grabs. In this case, the freeze
-   must be released on behalf of each grab before events can again
-   be processed.
-
-   XAllowDeviceEvents can generate a BadDevice or BadValue error.
+AsyncThisDevice, SyncThisDevice, and ReplayThisDevice have no
+effect on the processing of events from the remaining
+devices.AsyncOtherDevices has no effect on the processing of
+events from the specified device. When the event_mode is
+SyncAll or AsyncAll, the device parameter is ignored.
+
+It is possible for several grabs of different devices by the
+same or different clients to be active simultaneously. If a
+device is frozen on behalf of any grab, no event processing is
+performed for the device. It is possible for a single device to
+be frozen because of several grabs. In this case, the freeze
+must be released on behalf of each grab before events can again
+be processed.
+
+XAllowDeviceEvents can generate a BadDevice or BadValue error.
 
 DIAGNOSTICS
 -------------
-- 
1.7.2

Cheers,
  Peter


More information about the xorg-devel mailing list