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.
This commit is contained in:
parent
27bf278d72
commit
793ab7d457
|
@ -1700,10 +1700,10 @@ - (void) handleMouseButton:(NSEvent*)theEvent
|
|||
}
|
||||
}
|
||||
|
||||
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];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue