mirror of
https://github.com/encounter/SDL.git
synced 2025-12-21 18:59:15 +00:00
Fixed sending a size event while setting up a window (fix for DOTA 2 on Source 2)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user