This uses Cocoa and the window server to track windows and their z-order, which is more reliable than our own tracking.
c3183fc winemac: Implement simpler way to find front Wine window.
dlls/winemac.drv/cocoa_app.h | 1 +
dlls/winemac.drv/cocoa_app.m | 37 ++++++++++++++++++++-----------------
dlls/winemac.drv/cocoa_window.m | 8 ++------
3 files changed, 23 insertions(+), 23 deletions(-)
Upstream: source.winehq.org