Index: ash/display/screen_position_controller.cc |
diff --git a/ash/display/screen_position_controller.cc b/ash/display/screen_position_controller.cc |
index 6ab4b5489e3adee83f537369326e88a26ea45d6b..58c9a5c75a51546fe2febc45a07bfb2f198777d0 100644 |
--- a/ash/display/screen_position_controller.cc |
+++ b/ash/display/screen_position_controller.cc |
@@ -72,7 +72,7 @@ std::pair<aura::Window*, gfx::Point> GetRootWindowRelativeToWindow( |
gfx::Point location_in_root(location); |
aura::Window::ConvertPointToTarget(window, root_window, &location_in_root); |
-#if defined(USE_X11) |
+#if defined(USE_X11) || defined(USE_OZONE) |
if (!root_window->ContainsPointInRoot(location_in_root)) { |
// This conversion is necessary to deal with X's passive input |
// grab while dragging window. For example, if we have two |
oshima
2014/08/06 19:49:23
so ozone does passive grab too? if so, can you upd
dnicoara
2014/08/06 21:54:06
Done.
For now that's how it is done, though we're
oshima
2014/08/06 21:59:33
cool, thanks.
|
@@ -107,6 +107,7 @@ std::pair<aura::Window*, gfx::Point> GetRootWindowRelativeToWindow( |
} |
#else |
// TODO(yusukes): Support non-X11 platforms if necessary. |
+ NOTIMPLEMENTED(); |
#endif |
return std::make_pair(root_window, location_in_root); |