-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path222548.mypatch
31 lines (25 loc) · 1.03 KB
/
222548.mypatch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From: Dmitry Timoshkov <[email protected]>
Subject: [PATCH v2 2/2] user32: DefWindowProc(WM_NCCALCSIZE) should return 0.
Message-Id: <[email protected]>
Date: Wed, 22 Dec 2021 23:24:53 +0300
v2: Remove remaining todo_wine statements.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=37609
Signed-off-by: Dmitry Timoshkov <[email protected]>
---
dlls/user32/defwnd.c | 3 ++-
dlls/user32/tests/win.c | 4 ----
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/dlls/user32/defwnd.c b/dlls/user32/defwnd.c
index 8cd9047f02b..1b28232b551 100644
--- a/dlls/user32/defwnd.c
+++ b/dlls/user32/defwnd.c
@@ -265,7 +265,8 @@ static LRESULT DEFWND_DefWinProc( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPa
}
case WM_NCCALCSIZE:
- return NC_HandleNCCalcSize( hwnd, wParam, (RECT *)lParam );
+ NC_HandleNCCalcSize( hwnd, wParam, (RECT *)lParam );
+ break;
case WM_WINDOWPOSCHANGING:
return WINPOS_HandleWindowPosChanging( hwnd, (WINDOWPOS *)lParam );
--
2.34.1