Fixed sending a size event while setting up a window (fix for DOTA 2 on Source 2)

This commit is contained in:
Sam Lantinga
2015-10-06 21:16:21 -07:00
parent c5e68d68e7
commit 9bd640e1a0
3 changed files with 5 additions and 1 deletions

View File

@@ -735,7 +735,7 @@ WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
int x, y;
int w, h;
if (data->in_border_change) {
if (data->initializing || data->in_border_change) {
break;
}