When not resetting Y position, clamp Y to 0 early. See #9563

This commit is contained in:
Henrik Rydgard committed 2017-04-08 23:33:23 +02:00
1 parent 3b00088995
commit 0b7da0b6a4
1 file changed
+5
+5
View File
@@ -385,6 +385,11 @@ namespace MainWindow
resetPositionY = false;
}
// Try to workaround #9563.
if (!resetPositionY && g_Config.iWindowY < 0) {
g_Config.iWindowY = 0;
}
int windowWidth = g_Config.iWindowWidth;
int windowHeight = g_Config.iWindowHeight;