summaryrefslogtreecommitdiff
path: root/include/eventconvert.h
AgeCommit message (Collapse)AuthorFilesLines
2011-02-17Input: Allow EventToCore to return multiple eventsDaniel Stone1-1/+1
Some event types (notably Expose and GraphicsExpose) require multiple events, a la XI 1.x. Bring the EventToCore API in line with EventToXI's and allow it to generate multiple events. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-02-22Re-enable RECORD extension.Chris Dekter1-3/+3
RECORD was disabled during the switch to internal events. This patch modifies the record callback to work with internal events instead of xEvents. The InternalEvents are converted to core/Xi events as needed. Since record is a loadable extension, the EventTo* calls must be externed. Signed-off-by: Chris Dekter <cdekter@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-05-18Fix missing parentheses in FP1616 macro.Peter Hutterer1-1/+1
Missing parens led to interesting results if an expression instead of a constant was passed in (ProcXIQueryPointer for example).
2009-04-19Convert to using int32_t fixed point values on the wire.Peter Hutterer1-0/+2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-20dix: add EventToXI2 and GetXI2Type.Peter Hutterer1-0/+2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-02-23dix: change eventconvert to always return an array of xEventsPeter Hutterer1-1/+1
Just alloc the memory on demand rather than doing things with EventListPtrs etc. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-02-23dix: add GetCoreType and GetXIType.Peter Hutterer1-0/+2
Convert from an InternalEvent type to the matching core/XI type. Currently only for a few events, those we actually need in the server. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-02-23dix: add InternalEvent -> core/xi event conversion routines.Peter Hutterer1-0/+34
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>