From 86aa0491d621aff4066792840d5f043cbf99fe66 Mon Sep 17 00:00:00 2001 From: Anatoly Lyutin Date: Mon, 14 May 2007 20:42:32 +0400 Subject: [PATCH] user32: mdi: Fix switch with wParam in WM_SYSCOMMAND processing. --- dlls/user32/mdi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 )