diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-09-26 09:20:11 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-09-26 09:20:11 +0930 |
commit | b2a4883bd89d406713d4f808e72721ecc1456d67 (patch) | |
tree | 9225723fa6c97c68f8ed6937caf64373182ba044 | |
parent | 275dc77c2972147407584323b866b8acc1654ea0 (diff) |
dix: add comments to PlayReleasedEvents()
Also stick another warning in, more changes needed for XGE if panoramix is
active.
-rw-r--r-- | dix/events.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dix/events.c b/dix/events.c index f5b0f0037..7d69ca531 100644 --- a/dix/events.c +++ b/dix/events.c @@ -1241,6 +1241,15 @@ EnqueueEvent(xEvent *xE, DeviceIntPtr device, int count) *syncEvents.pendtail = qe; } +/** + * Run through the list of events queued up in syncEvents. + * For each event do: + * If the device for this event is not frozen anymore, take it and process it + * as usually. + * After that, check if there's any devices in the list that are not frozen. + * If there is none, we're done. If there is at least one device that is not + * frozen, then re-run from the beginning of the event queue. + */ static void PlayReleasedEvents(void) { @@ -1276,6 +1285,7 @@ PlayReleasedEvents(void) /* Translate back to the sprite screen since processInputProc will translate from sprite screen to screen 0 upon reentry to the DIX layer */ + /* XXX: we can't do that for generic events */ if(!noPanoramiXExtension) { qe->event->u.keyButtonPointer.rootX += panoramiXdataPtr[0].x - |