winemac: Don't use Cocoa parent-child relationship when topmost state is enough to...
commit987309e528832cfcf3f77fc123bbe00d90017628
authorKen Thomases <ken@codeweavers.com>
Tue, 3 Sep 2013 03:48:59 +0000 (2 22:48 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 3 Sep 2013 14:58:15 +0000 (3 16:58 +0200)
treef24f871d572b4ebd112263167b2f77ac304f0f00
parent11b21f70ab9032dd9990227f413292cadb39189d
winemac: Don't use Cocoa parent-child relationship when topmost state is enough to keep owned in front of owner.

The Cocoa parent-child relationship has undesirable side effects and bugs.  In
the general case, it's the only way to maintain the z-order of owned windows
relative to their owner.  But when the owner is non-topmost and an owned
window is topmost, the Cocoa window level will enforce that and we don't
need it.
dlls/winemac.drv/cocoa_window.m