From 60030f8e4b9b71ae55c55ca5c5cfbb3944739f6d Mon Sep 17 00:00:00 2001 From: "sadrul@chromium.org" Date: Mon, 21 Nov 2011 22:42:15 +0000 Subject: aura: Re-enable XInput2 events. It turns out that the position information in an event for a slave device reported by X is always slightly behind than the actual position. However, it turns out that the valuators do contain the correct information. So get the event location from the valuator. BUG=103981 TEST=manually Review URL: http://codereview.chromium.org/8568044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111016 0039d316-1c4b-4281-b951-d872f2087c98 --- ui/aura/desktop_host_linux.cc | 3 --- 1 file changed, 3 deletions(-) (limited to 'ui/aura') diff --git a/ui/aura/desktop_host_linux.cc b/ui/aura/desktop_host_linux.cc index 2de31e6..46492cf 100644 --- a/ui/aura/desktop_host_linux.cc +++ b/ui/aura/desktop_host_linux.cc @@ -281,11 +281,8 @@ DesktopHostLinux::DesktopHostLinux(const gfx::Rect& bounds) XSelectInput(xdisplay_, xwindow_, event_mask); XFlush(xdisplay_); - // TODO(sadrul): reenable once 103981 is fixed. -#if defined(TOUCH_UI) if (base::MessagePumpForUI::HasXInput2()) ui::TouchFactory::GetInstance()->SetupXI2ForXWindow(xwindow_); -#endif } DesktopHostLinux::~DesktopHostLinux() { -- cgit v1.1