diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-12-15 07:59:06 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-12-21 14:16:36 +1000 |
commit | 8a32c39c00789c16006de61112627722ce548be1 (patch) | |
tree | abe3c01284e213bec572886579ca6be99a2db4ec /mi | |
parent | 48547068b115b1f5e5f46a70110454a2175fb9a4 (diff) |
mi: handle screen switching on pointer emulated touch events
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.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -514,6 +514,12 @@ mieqProcessDeviceEvent(DeviceIntPtr dev, if (!handler) mieqMoveToNewScreen(dev, screen, &event->device_event); break; + case ET_TouchBegin: + case ET_TouchUpdate: + case ET_TouchEnd: + if (!handler && (event->device_event.flags & TOUCH_POINTER_EMULATED)) + mieqMoveToNewScreen(dev, screen, &event->device_event); + break; default: break; } |