Index: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc |
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc |
index 62068f5774b191095037c48749da60adc215812c..d45f8324f13d56b57002ca31217e1e771656cdd3 100644 |
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc |
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc |
@@ -572,13 +572,6 @@ void DesktopWindowTreeHostX11::ShowWindowWithState( |
break; |
} |
- // Makes the window activated by default if the state is not INACTIVE or |
- // MINIMIZED. |
- if (show_state != ui::SHOW_STATE_INACTIVE && |
- show_state != ui::SHOW_STATE_MINIMIZED) { |
- Activate(); |
- } |
- |
native_widget_delegate_->AsWidget()->SetInitialFocus(show_state); |
} |