diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2013-02-25 15:21:32 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2013-03-25 10:34:23 +1000 |
commit | 2fdde2c40d83695438b6f5615f98bd7ae801b43d (patch) | |
tree | 7b2d06ec66597b09c3ec7f757eea53a7faf9110a /dix/events.c | |
parent | 697071ab2b7f8910e01ed74618138538291cd1e8 (diff) |
dix: update coords for touch events in PlayReleasedEvents
Note: this is only hit for #ifdef PANORAMIX
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'dix/events.c')
-rw-r--r-- | dix/events.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dix/events.c b/dix/events.c index 2682ecd46..051205233 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 - |