https://bugs.winehq.org/show_bug.cgi?id=47036
--- Comment #18 from Paul Gofman gofmanp@gmail.com --- (In reply to Micah N Gorrell from comment #17)
The patch checks for the WS_CLIPCHILDREN flag, and if that is not set then it ignores the known_child bool since that is only needed if WS_CLIPCHILDREN is set.
Yes, but unless I am missing something if the window has children it won't go into 1st 'if' due to !GetWindow( hwnd, GW_CHILD ), there are just '&&' there. And known_child is not used after.
If you don't mind you can email me directly to reduce the number of messages here.