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.