https://bugs.winehq.org/show_bug.cgi?id=13683
--- Comment #46 from Christopher Thielen cthielen@gmail.com --- Compiling the attached mouseylines.cpp (apologies for the name), Windows produces this:
WM_LBUTTONDOWN: setting capture WM_CAPTURECHANGED: lParam is 590262, hWnd is 590262, equal? = 1 WM_LBUTTONUP: releasing capture WM_CAPTURECHANGED: lParam is 0, hWnd is 590262, equal? = 0 WM_CAPTURECHANGED: lParam is 0, hWnd is 590262, equal? = 0
while Wine produces this:
WM_LBUTTONDOWN: setting capture WM_LBUTTONUP: releasing capture WM_CAPTURECHANGED: lParam is 0, hWnd is 65616, equal? = 0 WM_CAPTURECHANGED: lParam is 0, hWnd is 65616, equal? = 0
Note: All I do is launch the application then click the 'X' button to close.
I believe the missing WM_CAPTURECHANGED where lParam == hWnd is significant to tihs bug.