Commit 9a80865b authored by Christopher Thielen's avatar Christopher Thielen Committed by Michael Stefaniuc

comctl32: Ensure that toolbar respond only to changes in WM_CAPTURECHANGED handler.

Signed-off-by: 's avatarChristopher Thielen <cthielen@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org> (cherry picked from commit ff063d9e) Signed-off-by: 's avatarMichael Stefaniuc <mstefani@winehq.org>
parent 12ed4de8
...@@ -6807,6 +6807,7 @@ ToolbarWindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) ...@@ -6807,6 +6807,7 @@ ToolbarWindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
return TOOLBAR_MouseLeave (infoPtr); return TOOLBAR_MouseLeave (infoPtr);
case WM_CAPTURECHANGED: case WM_CAPTURECHANGED:
if (hwnd == (HWND)lParam) return 0;
return TOOLBAR_CaptureChanged(infoPtr); return TOOLBAR_CaptureChanged(infoPtr);
case WM_NCACTIVATE: case WM_NCACTIVATE:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment