16 lines
875 B
Diff
16 lines
875 B
Diff
|
diff --git ui/views/test/ui_controls_factory_desktop_aurax11.cc ui/views/test/ui_controls_factory_desktop_aurax11.cc
|
||
|
index 2be0e63..343176d 100644
|
||
|
--- 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);
|
||
|
host->ConvertPointFromHost(&root_current_location);
|
||
|
|
||
|
- auto screen = views::test::TestDesktopScreenX11::GetInstance();
|
||
|
- 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()
|