jdk/src/macosx/native/sun/awt/AWTWindow.m
changeset 25120 8b6a41c3752f
parent 24534 07cf38b730b5
--- a/jdk/src/macosx/native/sun/awt/AWTWindow.m	Fri May 30 13:16:51 2014 +0400
+++ b/jdk/src/macosx/native/sun/awt/AWTWindow.m	Mon Jun 02 14:20:02 2014 +0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -252,6 +252,10 @@
     self.ownerWindow = owner;
     [self setPropertiesForStyleBits:styleBits mask:MASK(_METHOD_PROP_BITMASK)];
 
+    if (IS(self.styleBits, IS_POPUP)) {
+        [self.nsWindow setCollectionBehavior:(1 << 8) /*NSWindowCollectionBehaviorFullScreenAuxiliary*/]; 
+    }
+
     return self;
 }