Index: ui/aura/desktop_host_win.cc |
=================================================================== |
--- ui/aura/desktop_host_win.cc (revision 110097) |
+++ ui/aura/desktop_host_win.cc (working copy) |
@@ -258,7 +258,10 @@ |
} |
void DesktopHostWin::OnSize(UINT param, const CSize& size) { |
- desktop_->OnHostResized(gfx::Size(size.cx, size.cy)); |
+ // Minimizing resizes the window to 0x0 which causes our layout to go all |
+ // screwy, so we just ignore it. |
+ if (param != SIZE_MINIMIZED) |
+ desktop_->OnHostResized(gfx::Size(size.cx, size.cy)); |
} |
} // namespace aura |