[PATCH v2] user32: Always send WM_NCACTIVATE when changing the foreground window.

Alexandre Julliard julliard at winehq.org
Fri Mar 10 14:36:33 CST 2017


Alex Henrie <alexhenrie24 at gmail.com> writes:

> 2017-03-10 2:02 GMT-07:00 Alexandre Julliard <julliard at winehq.org>:
>> Alex Henrie <alexhenrie24 at gmail.com> writes:
>>
>>> Fixes https://bugs.winehq.org/show_bug.cgi?id=7198
>>>
>>> v2: Use the wineserver to determine if the new foreground window is
>>> already active in its thread.
>>
>> It still looks suspicious to do it here, particularly since we already
>> have code for this in set_active_window. It would need more tests to
>> determine where it fits with the other messages of the sequence.
>
> Can you give me some details about the additional tests you want to
> see, or assign the patch to someone who can help?

There are already several message tests for SetActiveWindow, you'd want
to do something similar for SetForegroundWindow, probably across two
different threads to see the whole sequence.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list