[WIN32SS:NTUSER] Fix Window-snap madness (#1246)
[reactos.git] / win32ss / user / ntuser / defwnd.c
index 67215d1..fc55c4a 100644 (file)
@@ -787,6 +787,11 @@ IntDefWindowProc(
             PWND topWnd = UserGetWindowObject(hwndTop);
             if (topWnd)
             {
             PWND topWnd = UserGetWindowObject(hwndTop);
             if (topWnd)
             {
+               if ((topWnd->style & WS_THICKFRAME) == 0)
+               {
+                  return 0;
+               }
+               
                if (wParam == VK_DOWN)
                {
                    if (topWnd->style & WS_MAXIMIZE)
                if (wParam == VK_DOWN)
                {
                    if (topWnd->style & WS_MAXIMIZE)