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,11 @@ |
if (!factory->ShouldProcessXI2Event(xev)) |
break; |
+ // Update utouch frame state |
+#if defined(USE_UTOUCH) |
+ ui::TouchFactory::GetInstance()->ProcessXI2Event(xev); |
+#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. |
@@ -620,6 +625,10 @@ |
XSendEvent(xdisplay_, xwindow_, False, 0, &xevent); |
} |
+aura::NativeHandle RootWindowHostLinux::GetNativeWindow() const { |
+ return xwindow_; |
+} |
+ |
bool RootWindowHostLinux::IsWindowManagerPresent() { |
// Per ICCCM 2.8, "Manager Selections", window managers should take ownership |
// of WM_Sn selections (where n is a screen number). |