mono/MonoGame — pull request #1066 by slygamer (2012-12-12 12:49:25+00:00)
Title: Fix minimizing Windows version

To address issue #1056
The window state would be changed back to normal when the window was minimized due to the code in UpdateWindowState being run when it shouldn't have. OnResize was being called with a window client size of 1x1 when minimizing the window. The fix is to early out if the new client size is 1x1 to prevent changing the back buffer to the new client size and incorrectly causing UpdateWindowState to bring the window back.