14 Feb
2026
14 Feb
'26
10:45 a.m.
Nikolay Sivov (@nsivov) commented about dlls/comctl32_v6/edit.c:
INT e; BOOL after_wrap;
+ if (es->bCaptureState && (GetCapture() == es->hwndSelf)) ReleaseCapture(); + es->bCaptureState = TRUE; SetCapture(es->hwndSelf); This looks very much like a workaround for WM_CAPTURECHANGED that you mentioned. The real question is whether WM_CAPTURECHANGED should happen at all in this case of repeated WM_LBUTTONDOWN. And more generally, should WM_CAPTURECHANGED happen on repeated SetCapture() with same window handle.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10104#note_129699