[PATCH 6/7] dix: update coords for touch events in PlayReleasedEvents

Peter Hutterer peter.hutterer at who-t.net
Sun Mar 3 13:58:44 PST 2013


Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 dix/events.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dix/events.c b/dix/events.c
index 2682ecd..0512052 100644
--- a/dix/events.c
+++ b/dix/events.c
@@ -1200,6 +1200,9 @@ PlayReleasedEvents(void)
                 case ET_KeyRelease:
                 case ET_ProximityIn:
                 case ET_ProximityOut:
+                case ET_TouchBegin:
+                case ET_TouchUpdate:
+                case ET_TouchEnd:
                     ev->root_x += screenInfo.screens[0]->x -
                         pDev->spriteInfo->sprite->screen->x;
                     ev->root_y += screenInfo.screens[0]->y -
-- 
1.8.1.2



More information about the xorg-devel mailing list