| Index: ui/aura/test/x11_event_sender.cc
|
| diff --git a/ui/aura/test/x11_event_sender.cc b/ui/aura/test/x11_event_sender.cc
|
| index bc58502d18a91c2c0c051b7dc5c0807ef3f5c70c..3116a5ca38d3410a6271ee8d4490ac836757b9ff 100644
|
| --- a/ui/aura/test/x11_event_sender.cc
|
| +++ b/ui/aura/test/x11_event_sender.cc
|
| @@ -34,9 +34,12 @@ void PostEventToWindowTreeHost(const XEvent& xevent, WindowTreeHost* host) {
|
| event.xmotion.time = CurrentTime;
|
|
|
| gfx::Point point(event.xmotion.x, event.xmotion.y);
|
| - host->ConvertPointToNativeScreen(&point);
|
| - event.xmotion.x_root = point.x();
|
| - event.xmotion.y_root = point.y();
|
| + gfx::Point root_point = point;
|
| + host->ConvertPointToNativeScreen(&root_point);
|
| + event.xmotion.x_root = root_point.x();
|
| + event.xmotion.y_root = root_point.y();
|
| + LOG(ERROR) << "Posting at " << point.ToString() << " vs. "
|
| + << root_point.ToString();
|
| }
|
| default:
|
| break;
|
|
|