Commit ff063d9e authored by Christopher Thielen's avatar Christopher Thielen Committed by Alexandre Julliard

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

parent e379a17a
......@@ -6807,6 +6807,7 @@ ToolbarWindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
return TOOLBAR_MouseLeave (infoPtr);
case WM_CAPTURECHANGED:
if (hwnd == (HWND)lParam) return 0;
return TOOLBAR_CaptureChanged(infoPtr);
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