Commit 793ab7d4 authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

winemac: Tell Wine when Cocoa brought a clicked window forward even if it sent the click event.

Not sending the brought-forward event for a click that was sent was an artifact of a time when that branch was only used for posting a request for focus. When I added the brought-forward event, I didn't reconsider that logic.
parent 27bf278d
......@@ -1700,10 +1700,10 @@ int macdrv_err_on;
}
}
if (!process && windowBroughtForward)
if (windowBroughtForward)
{
[[windowBroughtForward ancestorWineWindow] postBroughtForwardEvent];
if (![windowBroughtForward isKeyWindow] && !windowBroughtForward.disabled && !windowBroughtForward.noActivate)
if (!process && ![windowBroughtForward isKeyWindow] && !windowBroughtForward.disabled && !windowBroughtForward.noActivate)
[self windowGotFocus:windowBroughtForward];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment