[Bug 48761] ConEmu does not highlight selection

WineHQ Bugzilla wine-bugs at winehq.org
Tue Mar 17 10:15:10 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=48761

--- Comment #1 from Roman Pišl <rpisl at seznam.cz> ---
Created attachment 66671
  --> https://bugs.winehq.org/attachment.cgi?id=66671
Fix

ConEmu calls:

InvalidateRect(mh_WndDC, NULL, FALSE);
GetClientRect(mh_WndDC, &rcClient)
RedrawWindow(mh_WndDC, &rcClient, NULL,
RDW_INTERNALPAINT|RDW_NOERASE|RDW_NOFRAME|RDW_UPDATENOW|RDW_VALIDATE);

so the whole window is validated before WM_PAINT is sent.

Attaching fix that doesn't break any tests. But is that correct solution?

-- 
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.


More information about the wine-bugs mailing list