summaryrefslogtreecommitdiffstats
path: root/views/touchui
diff options
context:
space:
mode:
Diffstat (limited to 'views/touchui')
-rw-r--r--views/touchui/touch_factory.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/touchui/touch_factory.cc b/views/touchui/touch_factory.cc
index 772e47e..2f3506f 100644
--- a/views/touchui/touch_factory.cc
+++ b/views/touchui/touch_factory.cc
@@ -228,7 +228,7 @@ bool TouchFactory::ShouldProcessXI2Event(XEvent* xev) {
return true;
XIDeviceEvent* xiev = static_cast<XIDeviceEvent*>(cookie->data);
- return pointer_device_lookup_[xiev->sourceid];
+ return pointer_device_lookup_[xiev->deviceid];
}
void TouchFactory::SetupXI2ForXWindow(Window window) {