mirror of
https://github.com/reactos/wine.git
synced 2025-02-26 15:57:20 +00:00

This works around a Cocoa bug that causes an exception and hang if the view is being re-ordered within its current superview (as opposed to being moved to a new superview). This reverts commit 9fbc364ea103239553701aa9a9932e3fdabcfff6 but adds some conditions around the call to avoid the flicker on platforms where it's unnecessary. Signed-off-by: Ken Thomases <ken@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>