| Index: ash/wm/workspace/workspace_event_handler.cc
|
| diff --git a/ash/wm/workspace/workspace_event_handler.cc b/ash/wm/workspace/workspace_event_handler.cc
|
| index b4bce0b856b22b26a9884b29f8967ad7d90d54ae..6a2253024f075923bc38fd1562f5e5b4e0384696 100644
|
| --- a/ash/wm/workspace/workspace_event_handler.cc
|
| +++ b/ash/wm/workspace/workspace_event_handler.cc
|
| @@ -60,6 +60,8 @@ WorkspaceEventHandler::~WorkspaceEventHandler() {
|
| }
|
|
|
| void WorkspaceEventHandler::OnMouseEvent(ui::MouseEvent* event) {
|
| + if (event->handled())
|
| + return;
|
| aura::Window* target = static_cast<aura::Window*>(event->target());
|
| switch (event->type()) {
|
| case ui::ET_MOUSE_MOVED: {
|
| @@ -95,6 +97,8 @@ void WorkspaceEventHandler::OnMouseEvent(ui::MouseEvent* event) {
|
| }
|
|
|
| void WorkspaceEventHandler::OnGestureEvent(ui::GestureEvent* event) {
|
| + if (event->handled())
|
| + return;
|
| aura::Window* target = static_cast<aura::Window*>(event->target());
|
| if (event->type() == ui::ET_GESTURE_TAP &&
|
| target->delegate()->GetNonClientComponent(event->location()) ==
|
|
|