March 13, 2026
9:12 a.m.
There is a test program used to test the deadlock issue caused by setting **hdc_src** to the **window's self DC** when calling the **UpdateLayeredWindow** function. demo: [test-UpdateLayeredWindow.exe](/uploads/96eeece57b90c76daf22c8293f4cb718/test-UpdateLayeredWindow.exe) [test-UpdateLayeredWindow.cpp](/uploads/ebdf27dc9a9fea676fc10b11c8e14a12/test-UpdateLayeredWindow.cpp) -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10324#note_132163