March 25, 2026
8:31 a.m.
On Tue Mar 24 16:49:37 2026 +0000, Rémi Bernon wrote:
Okay, but what is UpdateLayeredWindow supposed to do if src / dst rect are overlapping? It may return success but does it blit anything? According to the MSDN introduction for the function UpdateLayeredWindow, it states: "_If the shape and visual context of the window are not changing, hdcSrc can be NULL._" (link:https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-updat...), Based on this, I think that when the src and dst are the same, there is no need to blit anything.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10324#note_133708