Alex Henrie alexhenrie24@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.