summaryrefslogtreecommitdiffstats
path: root/ash/magnifier/magnification_controller.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/magnifier/magnification_controller.cc')
-rw-r--r--ash/magnifier/magnification_controller.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/ash/magnifier/magnification_controller.cc b/ash/magnifier/magnification_controller.cc
index 8aa40a5..c17dbc5 100644
--- a/ash/magnifier/magnification_controller.cc
+++ b/ash/magnifier/magnification_controller.cc
@@ -554,7 +554,8 @@ void MagnificationControllerImpl::OnMouseEvent(ui::MouseEvent* event) {
if (root_bounds.Contains(event->root_location())) {
// This must be before |SwitchTargetRootWindow()|.
- point_of_interest_ = event->root_location();
+ if (event->type() != ui::ET_MOUSE_CAPTURE_CHANGED)
+ point_of_interest_ = event->root_location();
if (current_root != root_window_) {
DCHECK(current_root);