dix: fix comment for DeliverDeviceEvents.
DDE is not always called, grabbed or focused devices go through Deliver{Grabbed|Focus}Event first. Thanks to Eamon Walsh for spotting it.
This commit is contained in:
parent
06188ce90d
commit
1c38eac442
13
dix/events.c
13
dix/events.c
|
@ -2246,9 +2246,14 @@ FixUpEventFromWindow(
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Deliver events caused by input devices. Called for all core input events
|
* Deliver events caused by input devices. Called for both core input events
|
||||||
* and XI events. No filtering of events happens before DeliverDeviceEvents(),
|
* and XI events.
|
||||||
* it will be called for any event that comes out of the event queue.
|
* For events from a non-grabbed, non-focus device, DeliverDeviceEvents is
|
||||||
|
* called directly from the processInputProc.
|
||||||
|
* For grabbed devices, DeliverGrabbedEvent is called first, and _may_ call
|
||||||
|
* DeliverDeviceEvents.
|
||||||
|
* For focused events, DeliverFocusedEvent is called first, and _may_ call
|
||||||
|
* DeliverDeviceEvents.
|
||||||
*
|
*
|
||||||
* @param pWin Window to deliver event to.
|
* @param pWin Window to deliver event to.
|
||||||
* @param xE Events to deliver.
|
* @param xE Events to deliver.
|
||||||
|
@ -2257,6 +2262,8 @@ FixUpEventFromWindow(
|
||||||
* @param dev The device that is responsible for the event.
|
* @param dev The device that is responsible for the event.
|
||||||
* @param count number of events in xE.
|
* @param count number of events in xE.
|
||||||
*
|
*
|
||||||
|
* @see DeliverGrabbedEvent
|
||||||
|
* @see DeliverFocusedEvent
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
DeliverDeviceEvents(WindowPtr pWin, xEvent *xE, GrabPtr grab,
|
DeliverDeviceEvents(WindowPtr pWin, xEvent *xE, GrabPtr grab,
|
||||||
|
|
Loading…
Reference in New Issue