summaryrefslogtreecommitdiffstats
path: root/ash
diff options
context:
space:
mode:
Diffstat (limited to 'ash')
-rw-r--r--ash/tooltips/tooltip_controller.cc1
-rw-r--r--ash/wm/toplevel_window_event_filter.cc1
2 files changed, 2 insertions, 0 deletions
diff --git a/ash/tooltips/tooltip_controller.cc b/ash/tooltips/tooltip_controller.cc
index 48a4d9b..a999c59 100644
--- a/ash/tooltips/tooltip_controller.cc
+++ b/ash/tooltips/tooltip_controller.cc
@@ -265,6 +265,7 @@ bool TooltipController::PreHandleMouseEvent(aura::Window* target,
case ui::ET_MOUSE_RELEASED:
case ui::ET_MOUSE_DRAGGED:
case ui::ET_MOUSEWHEEL:
+ case ui::ET_MOUSE_CAPTURE_CHANGED:
// Hide the tooltip for click, release, drag, wheel events.
if (tooltip_->IsVisible())
tooltip_->Hide();
diff --git a/ash/wm/toplevel_window_event_filter.cc b/ash/wm/toplevel_window_event_filter.cc
index 88f0307..bbeadb2 100644
--- a/ash/wm/toplevel_window_event_filter.cc
+++ b/ash/wm/toplevel_window_event_filter.cc
@@ -189,6 +189,7 @@ bool ToplevelWindowEventFilter::PreHandleMouseEvent(aura::Window* target,
kBoundsChange_None;
case ui::ET_MOUSE_DRAGGED:
return HandleDrag(target, event);
+ case ui::ET_MOUSE_CAPTURE_CHANGED:
case ui::ET_MOUSE_RELEASED:
CompleteDrag(target);
if (in_move_loop_) {