diff --git a/dlls/user32/mdi.c b/dlls/user32/mdi.c index 976bce3848b..05448d21980 100644 --- a/dlls/user32/mdi.c +++ b/dlls/user32/mdi.c @@ -1498,7 +1498,7 @@ LRESULT WINAPI DefMDIChildProcW( HWND hwnd, UINT message, return 0; case WM_SYSCOMMAND: - switch( wParam ) + switch (wParam & 0xfff0) { case SC_MOVE: if( ci->hwndChildMaximized == hwnd )