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>
This commit is contained in:
parent
697071ab2b
commit
2fdde2c40d
|
@ -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 -
|
||||
|
|
Loading…
Reference in New Issue
Block a user