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 82ba30c804f47a2689399431ec8be909a582cc4e..91c57d7cdcaf950592feab2701a4bc2e0b42557c 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 |
@@ -1163,7 +1163,7 @@ void DesktopWindowTreeHostX11::InitX11Window( |
depth, InputOutput, visual, attribute_mask, &swa); |
if (ui::PlatformEventSource::GetInstance()) |
ui::PlatformEventSource::GetInstance()->AddPlatformEventDispatcher(this); |
- open_windows().push_back(xwindow_); |
+ open_windows().push_front(xwindow_); |
// TODO(erg): Maybe need to set a ViewProp here like in RWHL::RWHL(). |