https://bugs.winehq.org/show_bug.cgi?id=13683 --- Comment #50 from Christopher Thielen <cthielen(a)gmail.com> --- Here's another result: take the given test and duplicate the SetCapture() line in WM_LBUTTONDOWN so it simply calls SetCapture() twice in a row. Wine and Windows differ a lot in that case (for this output I drew three lines and then clicked the window close button): Windows: WM_LBUTTONDOWN: setting capture WM_CAPTURECHANGED: lParam is 459306, hWnd is 459306, equal? = 1 WM_LBUTTONUP: releasing capture WM_CAPTURECHANGED: lParam is 0, hWnd is 459306, equal? = 0 WM_LBUTTONDOWN: setting capture WM_CAPTURECHANGED: lParam is 459306, hWnd is 459306, equal? = 1 WM_LBUTTONUP: releasing capture WM_CAPTURECHANGED: lParam is 0, hWnd is 459306, equal? = 0 WM_LBUTTONDOWN: setting capture WM_CAPTURECHANGED: lParam is 459306, hWnd is 459306, equal? = 1 WM_LBUTTONUP: releasing capture WM_CAPTURECHANGED: lParam is 0, hWnd is 459306, equal? = 0 WM_CAPTURECHANGED: lParam is 0, hWnd is 459306, equal? = 0 Received WM_DESTROY Wine: WM_LBUTTONDOWN: setting capture WM_LBUTTONUP: releasing capture WM_CAPTURECHANGED: lParam is 0, hWnd is 65596, equal? = 0 WM_LBUTTONDOWN: setting capture WM_LBUTTONUP: releasing capture WM_CAPTURECHANGED: lParam is 0, hWnd is 65596, equal? = 0 WM_LBUTTONDOWN: setting capture WM_LBUTTONUP: releasing capture WM_CAPTURECHANGED: lParam is 0, hWnd is 65596, equal? = 0 WM_CAPTURECHANGED: lParam is 0, hWnd is 65596, equal? = 0 Received WM_DESTROY -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.