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,16 @@ |
if (!factory->ShouldProcessXI2Event(xev)) |
break; |
+ // Update utouch frame state |
+ ui::TouchFactory::GetInstance()->ProcessXI2Event(xev); |
+ |
+ // Update the device list if necessary. |
+ if (xev->xgeneric.evtype == XI_HierarchyChanged) { |
+ ui::UpdateDeviceList(); |
+ handled = true; |
+ break; |
+ } |
+ |
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. |