diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-12-15 07:59:06 +1000 |
---|---|---|
committer | Chase Douglas <chase.douglas@canonical.com> | 2011-12-21 10:34:12 -0800 |
commit | 7b97a1954c97f5cf13e3610c980c5fd3f8433703 (patch) | |
tree | 3c4bfc2a4ffbce6cb4cf20dbba71996b38ff44b2 | |
parent | c9940355aee047fd10c398394b218ba5d60e6588 (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>
-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; } |