summaryrefslogtreecommitdiff
path: root/mi
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-12-14 13:51:12 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-12-19 09:08:32 +1000
commit93c2a1628a9f6e7480d834bf55c080997fd18911 (patch)
tree87564347d84228e3160d44735078d690fb51bb79 /mi
parent3390d3fc0347947796aa245d70fefecf59b7bfe4 (diff)
Hook up the ownership events
This patch applies most of the protocol conversions and the internal event type for ownership events. Note that ownership events are generated by the DIX only, they do not pass through the event queue. Co-authored-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'mi')
-rw-r--r--mi/mieq.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mi/mieq.c b/mi/mieq.c
index 8335289c5..ea8bcf044 100644
--- a/mi/mieq.c
+++ b/mi/mieq.c
@@ -375,6 +375,9 @@ ChangeDeviceID(DeviceIntPtr dev, InternalEvent* event)
case ET_TouchEnd:
event->device_event.deviceid = dev->id;
break;
+ case ET_TouchOwnership:
+ event->touch_ownership_event.deviceid = dev->id;
+ break;
#if XFreeXDGA
case ET_DGAEvent:
break;