mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Fixed bug when maximizing a window on Windows (was introduced recently)
This commit is contained in:
parent
9528fbc893
commit
b3357eed2a
@ -497,10 +497,6 @@ void WindowImplWin32::processEvent(UINT message, WPARAM wParam, LPARAM lParam)
|
||||
// We override the returned information to remove the default limit
|
||||
// (the OS doesn't allow windows bigger than the desktop by default)
|
||||
MINMAXINFO* info = reinterpret_cast<MINMAXINFO*>(lParam);
|
||||
info->ptMaxPosition.x = 50000;
|
||||
info->ptMaxPosition.y = 50000;
|
||||
info->ptMaxSize.x = 50000;
|
||||
info->ptMaxSize.y = 50000;
|
||||
info->ptMaxTrackSize.x = 50000;
|
||||
info->ptMaxTrackSize.y = 50000;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user