Files
xserver/include
Peter Hutterer 40475261ea dix: add touch event history helper functions
If touch client has not registered for ownership events and a grab above
that client is rejected, the client needs to receive the complete event
history.

The history currently doesn't really do fancy overflow handling. We assume
that the first TOUCH_HISTORY_SIZE events are the important ones and anything
after that is dropped. If that is a problem, fix the client that takes > 100
event to decide whether to accept or reject.

Events marked with TOUCH_CLIENT_ID or TOUCH_REPLAYING must not be stored in
the history, they are events created by the DIX to comply with the protocol.
Any such event should already be in the history anyway.

A fixme in this patch: we don't have a function to actually deliver the
event yet.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
2011-12-21 12:38:35 +10:00
..
2010-10-13 09:24:06 -07:00
2010-09-13 15:55:17 -07:00
2011-12-16 11:18:47 +10:00
2011-12-19 09:08:32 +10:00
2011-12-19 09:08:32 +10:00
2011-03-14 13:44:46 -04:00
2011-12-21 12:38:35 +10:00
2011-03-14 13:57:20 -04:00
2010-11-11 23:20:35 +02:00