From b3357eed2ac5ea29d4f808db9d2cd1a00248b40d Mon Sep 17 00:00:00 2001 From: Laurent Gomila Date: Thu, 11 Jul 2013 23:10:51 +0200 Subject: [PATCH] Fixed bug when maximizing a window on Windows (was introduced recently) --- src/SFML/Window/Win32/WindowImplWin32.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/SFML/Window/Win32/WindowImplWin32.cpp b/src/SFML/Window/Win32/WindowImplWin32.cpp index 093f8053..4c83caef 100644 --- a/src/SFML/Window/Win32/WindowImplWin32.cpp +++ b/src/SFML/Window/Win32/WindowImplWin32.cpp @@ -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(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;