pass WM_GETMINMAXINFO to DefWindowProc
This commit is contained in:
parent
945b4c954a
commit
c5ce766509
1 changed files with 2 additions and 4 deletions
|
@ -883,6 +883,8 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
|
||||
switch(uMsg)
|
||||
{
|
||||
case WM_GETMINMAXINFO:
|
||||
case WM_MOVING:
|
||||
case WM_NCLBUTTONDOWN:
|
||||
case WM_NCLBUTTONUP:
|
||||
case WM_NCACTIVATE:
|
||||
|
@ -1117,10 +1119,6 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
}
|
||||
return DefWindowProc(hWnd, uMsg, wParam, lParam); /* Carmageddon fix */
|
||||
}
|
||||
case WM_MOVING:
|
||||
{
|
||||
return DefWindowProc(hWnd, uMsg, wParam, lParam);
|
||||
}
|
||||
case WM_MOVE:
|
||||
{
|
||||
if (ddraw->windowed)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue