Index: ui/aura/root_window_host_linux.cc |
=================================================================== |
--- ui/aura/root_window_host_linux.cc (revision 126124) |
+++ ui/aura/root_window_host_linux.cc (working copy) |
@@ -388,6 +388,18 @@ |
if (!factory->ShouldProcessXI2Event(xev)) |
break; |
+ // Update utouch frame state |
+#if defined(USE_UTOUCH) |
+ ui::TouchFactory::GetInstance()->ProcessXI2Event(xev); |
+#else // USE_UTOUCH |
rjkroege
2012/04/02 17:05:15
you should split out the change that is for the ex
|
+ // Update the device list if necessary. |
+ if (xev->xgeneric.evtype == XI_HierarchyChanged) { |
+ ui::UpdateDeviceList(); |
+ handled = true; |
+ break; |
+ } |
sadrul
2012/04/03 19:52:01
This is already done in DispatcherLinux
|
+#endif // USE_UTOUCH |
+ |
ui::EventType type = ui::EventTypeFromNative(xev); |
// If this is a motion event we want to coalesce all pending motion |
// events that are at the top of the queue. |