XIALLOWEVENTS - Online Linux Manual PageSection : 3
Updated : 09/15/2021
Source :
Note :
NAMEXIAllowEvents − Release queued events
SYNOPSIS#include <X11/extensions/XInput2.h>Status XIAllowEvents( Display *display,
int deviceid,
int event_mode,
Time time );Status XIAllowTouchEvents( Display *dpy,
int deviceid,
unsigned int touchid,
Window grab_window,
int event_mode );display
Specifies the connection to the X server.device
Specifies the device that is to be grabbed or releasedevent_mode
Specifies whether a device is to be thawed and events are to be
replayed, or how to handle a grabbed touch sequence.time
A valid server time or CurrentTime.touchid
The ID of the touch sequence to accept or reject. The value is ignored
for event modes other than AcceptTouch and RejectTouch.grab_window
The window on which to accept or reject a touch sequence grab. The value
is ignored for event modes other than AcceptTouch and RejectTouch.
DESCRIPTIONThe XIAllowEvents request releases some queued events if the client
has caused a device to freeze. It also is used to handle touch grab and
ownership processing.The function has no effect if the specified time is earlier than the last−grab
time of the most recent active grab for the client, or if the specified time is
later than the current X server time. The time parameter must be CurrentTime for
requests with event modes of XIAcceptTouch and XIRejectTouch.The following describes the processing that occurs depending on what constant
you pass to the event_mode argument:XIAsyncDevice:
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, XIAsyncDevice thaws for
all. XIAsyncDevice has no effect if the specified device is not frozen
by the client, but the device need not be grabbed by the client.XISyncDevice:
If the specified device is frozen and actively grabbed by the client,
event processing for that device continues normally until the next
button press or release, or key press or release, or a gesture begin or end
event (depending on the grab) is reported to the client.
At this time, the specified device again appears to freeze.
However, if the reported event causes the grab to be released, the
specified device does not freeze.
XISyncDevice has no effect if the specified device is not frozen by the
client or is not grabbed by the client.XIReplayDevice:
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 XIGrabButton or from a previous XIAllowEvents with
mode SyncDevice, but not from a Grab), the grab is released and
that event is completely reprocessed. This time, however, the request
ignores any passive grabs at or above (towards the root) the
grab window of the grab just released.
The request has no effect if the specified device is not grabbed by
the client or if it is not frozen as the result of an event.
In case of gesture begin event being replayed, the original grabbing
client will receive a XI_GesturePinchEnd or XI_GestureSwipeEnd event.XIAsyncPairedDevice:
If the paired master device is frozen by the client, event processing
for it continues as usual. If the paired device is frozen multiple
times by the client on behalf of multiple separate grabs,
XIAsyncPairedDevice thaws for all.
XIAsyncPairedDevice has no effect if the device is not frozen by the
client, but those devices need not be grabbed by the client.
XIAsyncPairedDevice has no effect if deviceid specifies a slave device.XISyncPair:
If both the device and the paired master device are frozen by the
client, event processing (for both devices) continues normally until
the next XI_ButtonPress, XI_ButtonRelease, XI_KeyPress, or XI_KeyRelease
event is reported to the client for a grabbed device (button event for
a pointer, key event for a keyboard), at which time the devices again
appear to freeze. However, if the reported event causes the grab to be
released, then the devices do not freeze (but if the other device is
still grabbed, then a subsequent event for it will still cause both
devices to freeze).
XISyncPair has no effect unless both the device and the paired master
device are frozen by the client. If the device or paired master device
is frozen twice by the client on behalf of two separate grabs,
XISyncPair thaws for both (but a subsequent freeze for XISyncPair will
only freeze each device once).
XISyncPair has no effect if deviceid specifies a slave device.XIAsyncPair:
If the device and the paired master device are frozen by the client,
event processing for both devices continues normally. If a device is
frozen twice by the client on behalf of two separate grabs, AsyncBoth
thaws for both. XIAsyncPair has no effect unless both the device and the
paired master device frozen by the client.
XIAsyncPair has no effect if deviceid specifies a slave device.XIAcceptTouch:
The client is deemed to have taken control of the touch sequence once it
owns the sequence. TouchEnd events will be sent to all clients listening
to the touch sequence that have either grabbed the touch sequence on a
child window of the grab_window or have received events for the touch
sequence through event selection. These clients will no longer receive
any TouchUpdate events.XIRejectTouch:
The client is no longer interested in the touch sequence, and will
receive a XI_TouchEnd event. If the client is the current owner of the
sequence, ownership will be passed on to the next listener.
DIAGNOSTICSBadDevice
An invalid deviceid was specified.BadAccess
This error may occur if event_mode is XIAcceptTouch and this client
is not the current or potential owner of the specified touch ID.BadValue
This error may occur if event_mode is XIAcceptTouch and touch ID is invalid.BadWindow
A value for a grab_window argument does not name a defined
Window.
SEE ALSOXIGrabButton(3) 0
Johanes Gumabo
Data Size : 11,467 byte
man-XIAllowEvents.3Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 2 / 203,907
Visitor ID : :
Visitor IP : 3.135.209.20 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.