diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-01-30 14:34:02 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-02-23 17:52:39 +1000 |
commit | 4026c63e4eb16481bafc1a41ad67cd2556728d40 (patch) | |
tree | fae7b707cb28768eaaded5ab55c6b628cea91bf8 /include/input.h | |
parent | 5a827593f9517fd5593751dd8bd90c611de06c5d (diff) |
mi: switch the EQ to contain InternalEvents only.
This gets rid of the nevents parameter, InternalEvents are always a single
item per event. Also remove the special DeviceValuator handling in both
enqueueing and dequeueing.
Custom callback handlers are now broken until fixed.
For bisectability, we copy the InternalEvent back into the XI required during
POE and friends. Consider this a temporary solution.
Note: Because of misc linker bonghits, Xvfb won't link in this revision.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include/input.h')
-rw-r--r-- | include/input.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/input.h b/include/input.h index 180423591..faa8d520e 100644 --- a/include/input.h +++ b/include/input.h @@ -108,7 +108,9 @@ typedef struct _EventList { int evlen; /* length of allocated memory for event in bytes. This is not the actual length of the event. The event's actual length is 32 for standard events or 32 + - ((xGenericEvent*)event)->length * 4 for GenericEvents */ + ((xGenericEvent*)event)->length * 4 for GenericEvents. + For events in the EQ, the length is + ((InternalEvent*)event)->u.any.length */ } EventList, *EventListPtr; /* The DIX stores incoming input events in this list */ |