changeset 6846:da7406208784

RT-36716: [Glass, Mac] Cannot show two transparent stages at the same time Summary: Add the NSApplicationActivateAllWindows flag to the activateWithOptions call when starting an application Reviewed-by: pchelko
author Anthony Petrov <anthony.petrov@oracle.com>
date Tue, 22 Apr 2014 15:31:26 +0400
parents 669f56bc38e9
children cd30fe269fba
files modules/graphics/src/main/native-glass/mac/GlassApplication.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/graphics/src/main/native-glass/mac/GlassApplication.m	Tue Apr 22 13:18:57 2014 +0200
+++ b/modules/graphics/src/main/native-glass/mac/GlassApplication.m	Tue Apr 22 15:31:26 2014 +0400
@@ -533,7 +533,7 @@
                 [app setDelegate:self];
 
                 // [app activateIgnoringOtherApps:YES] won't activate the menu bar on OS X 10.9, so instead we do this:
-                [[NSRunningApplication currentApplication] activateWithOptions:NSApplicationActivateIgnoringOtherApps];
+                [[NSRunningApplication currentApplication] activateWithOptions:(NSApplicationActivateIgnoringOtherApps | NSApplicationActivateAllWindows)];
             }
             else
             {