2016-10-17 14:14:44 -04:00
|
|
|
diff --git ui/views/test/ui_controls_factory_desktop_aurax11.cc ui/views/test/ui_controls_factory_desktop_aurax11.cc
|
2017-03-03 17:37:23 -05:00
|
|
|
index 117a268..6065c73 100644
|
2016-10-17 14:14:44 -04:00
|
|
|
--- ui/views/test/ui_controls_factory_desktop_aurax11.cc
|
|
|
|
+++ ui/views/test/ui_controls_factory_desktop_aurax11.cc
|
|
|
|
@@ -146,10 +146,6 @@ class UIControlsDesktopX11 : public UIControlsAura {
|
|
|
|
aura::test::QueryLatestMousePositionRequestInHost(host);
|
2017-01-23 12:36:54 -05:00
|
|
|
host->ConvertPixelsToDIP(&root_current_location);
|
2016-10-17 14:14:44 -04:00
|
|
|
|
2017-03-03 17:37:23 -05:00
|
|
|
- auto* screen = views::test::TestDesktopScreenX11::GetInstance();
|
2016-10-17 14:14:44 -04:00
|
|
|
- DCHECK_EQ(screen, display::Screen::GetScreen());
|
|
|
|
- screen->set_cursor_screen_point(gfx::Point(screen_x, screen_y));
|
|
|
|
-
|
|
|
|
if (root_location != root_current_location && button_down_mask == 0) {
|
|
|
|
// Move the cursor because EnterNotify/LeaveNotify are generated with the
|
|
|
|
// current mouse position as a result of XGrabPointer()
|