| Index: ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
|
| diff --git a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
|
| index 39b862ec9b2d1ce5b6aa8ad5e6af324ad8850cbb..ac557f016441dda88d971cfa6fe7463ec45420e7 100644
|
| --- a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
|
| +++ b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
|
| @@ -545,7 +545,11 @@ void DesktopNativeWidgetAura::SetCursor(gfx::NativeCursor cursor) {
|
|
|
| void DesktopNativeWidgetAura::ClearNativeFocus() {
|
| desktop_root_window_host_->ClearNativeFocus();
|
| - aura::client::GetFocusClient(window_)->ResetFocusWithinActiveWindow(window_);
|
| +
|
| + if (ShouldActivate()) {
|
| + aura::client::GetFocusClient(window_)->
|
| + ResetFocusWithinActiveWindow(window_);
|
| + }
|
| }
|
|
|
| gfx::Rect DesktopNativeWidgetAura::GetWorkAreaBoundsInScreen() const {
|
|
|