16 Dec
2024
16 Dec
'24
9:36 p.m.
Alexandre Julliard (@julliard) commented about dlls/winex11.drv/init.c:
release_win_data( data ); OffsetRect( &client, -client.left, -client.top );
- if (!(hdc = NtUserGetDCEx( hwnd, 0, DCX_CACHE | DCX_CLIPCHILDREN ))) return FALSE; + style = NtUserGetWindowLongW( hwnd, GWL_STYLE ); + if (style & WS_CLIPCHILDREN) clip_flags |= DCX_CLIPCHILDREN; + if (style & WS_CLIPSIBLINGS) clip_flags |= DCX_CLIPSIBLINGS; +
This could probably use DCX_USESTYLE. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7014#note_90653