From 2e226b9ad8cd86b4ad6b5a73effa9fa7d5d03958 Mon Sep 17 00:00:00 2001 From: Ken Thomases Date: Wed, 10 Apr 2013 15:32:23 -0500 Subject: [PATCH] winemac: Don't order the window on-screen in -[WineWindow adjustWindowLevel]. --- dlls/winemac.drv/cocoa_window.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winemac.drv/cocoa_window.m b/dlls/winemac.drv/cocoa_window.m index 6a85d7471b2..c13a57daa62 100644 --- a/dlls/winemac.drv/cocoa_window.m +++ b/dlls/winemac.drv/cocoa_window.m @@ -437,7 +437,7 @@ - (void) adjustWindowLevel Also, any windows which are supposed to be in front of it had better have the same or higher window level. If not, bump them up. */ - if (index != NSNotFound) + if (index != NSNotFound && [self isVisible]) { for (; index > 0; index--) {