Navigation Menu

Skip to content

Commit

Permalink
windows: fix borderless windows at desktop resolution (thanks, Evgeny!).
Browse files Browse the repository at this point in the history
Fixes Bugzilla #3404.
  • Loading branch information
icculus committed Sep 30, 2016
1 parent b2510d9 commit f2fcd32
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/video/windows/SDL_windowsevents.c
Expand Up @@ -765,6 +765,13 @@ WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
break;
#endif /* WM_GETMINMAXINFO */

case WM_WINDOWPOSCHANGING:

if (data->expected_resize) {
returnCode = 0;
}
break;

case WM_WINDOWPOSCHANGED:
{
RECT rect;
Expand Down

0 comments on commit f2fcd32

Please sign in to comment.