mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-03 07:29:37 +01:00
windows: fix borderless windows at desktop resolution (thanks, Evgeny!).
Fixes Bugzilla #3404.
This commit is contained in:
parent
b2510d9cbc
commit
f2fcd324c5
@ -765,6 +765,13 @@ WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
|||||||
break;
|
break;
|
||||||
#endif /* WM_GETMINMAXINFO */
|
#endif /* WM_GETMINMAXINFO */
|
||||||
|
|
||||||
|
case WM_WINDOWPOSCHANGING:
|
||||||
|
|
||||||
|
if (data->expected_resize) {
|
||||||
|
returnCode = 0;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
case WM_WINDOWPOSCHANGED:
|
case WM_WINDOWPOSCHANGED:
|
||||||
{
|
{
|
||||||
RECT rect;
|
RECT rect;
|
||||||
|
Loading…
Reference in New Issue
Block a user