[PATCH] quartz: Clear the WS_CHILD style in WM_CLOSE instead of unparenting it before.
Gabriel Ivăncescu
gabrielopcode at gmail.com
Mon Mar 16 11:12:21 CDT 2020
On 16/03/2020 18:00, Zebediah Figura wrote:
> On 3/16/20 7:52 AM, Gabriel Ivăncescu wrote:
>> We handle it in WM_CLOSE to match Windows more closely, in case the window
>> belongs to a different thread.
>
> What's the point of doing this?
>
Well, based on message sequence I've been investigating, I'm somewhat
sure Windows does it when handling a custom message. I know that's
internal implementation details, but I figured if we make it closer to
Windows by just clearing the style anyway, at least it would be worth it
to avoid surprises in the future by also mimicking that behavior.
I can drop it, of course, and just handle it like where it was
originally. Should I?
More information about the wine-devel
mailing list