Xi: support InternalEvents in UpdateDeviceState, parts of POE and EnqueueEvent

Note that this breaks DGA. Life is tough.

EnqueueEvent is a somewhat half-baked solution, we immediately drop back into
XI and store them. But it should in theory work.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

Don't let the dcce be random data.
This commit is contained in:
Peter Hutterer 2009-01-30 13:33:55 +10:00
commit 8829d966a6
8 changed files with 103 additions and 125 deletions

View file

@ -322,11 +322,9 @@ GetXIType(InternalEvent *event)
}
/*
* FIXME: A temporary solution to make the server bisectable. This code
* allocates during SIGIO and makes a number of assumptions about what's in
* events. Will be removed soon.
* FIXME: A temporary solution to make the server bisectable. Take the event
* @event and copy it into @ev, returning the number of events in @ev.
*/
int
ConvertBackToXI(InternalEvent *event, xEvent *ev)
{