Fixed restoring a window that was maximized then minimized, then restored.
This commit is contained in:
parent
ccf0566ca4
commit
772407627b
1 changed files with 2 additions and 0 deletions
|
@ -807,6 +807,8 @@ WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
|||
{
|
||||
switch (wParam) {
|
||||
case SIZE_MAXIMIZED:
|
||||
SDL_SendWindowEvent(data->window,
|
||||
SDL_WINDOWEVENT_RESTORED, 0, 0);
|
||||
SDL_SendWindowEvent(data->window,
|
||||
SDL_WINDOWEVENT_MAXIMIZED, 0, 0);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue