dix: fix EnqueueEvent to work with internal events.

Note that we're only partially switched to internal events. The event in the
devices' event queue (dev->deviceGrab.sync.event) is still an XI event. The
events in syncEvents are InternalEvents only now.
This also implies fixing CheckVirtualMotion to work with internal events.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2009-01-31 08:46:43 +10:00
parent 75595ba4aa
commit daa3245c47
2 changed files with 64 additions and 67 deletions

View File

@@ -516,8 +516,7 @@ typedef struct _QdEvent {
DeviceIntPtr device;
ScreenPtr pScreen; /* what screen the pointer was on */
unsigned long months; /* milliseconds is in the event */
xEvent *event;
int evcount;
} QdEventRec;
InternalEvent *event;
} QdEventRec;
#endif /* INPUTSTRUCT_H */