April 2, 2026
3:37 a.m.
Zhao Yi (@Zhaoyi) commented about dlls/win32u/window.c:
apply_window_pos( hwnd, 0, swp_flags, surface, &new_rects, NULL ); if (!surface) return FALSE;
if (!hdc_src || surface == &dummy_surface)
I agree with your view regarding the scenario you tested above: we can ignore surface content updates when hdc is the window DC. And we may probably fix this bug as follws: ```suggestion:-0+0 if (!hdc_src || surface == &dummy_surface || NtUserWindowFromDC( hdc_src ) == hwnd) ``` -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10324#note_134745