8005997: [macosx] Printer Dialog opens an additional title bar
authorserb
Thu, 24 Jan 2013 15:55:04 +0400
changeset 15328 65d946035fa9
parent 15327 37781d0e61b4
child 15329 0607c1b65374
8005997: [macosx] Printer Dialog opens an additional title bar Reviewed-by: anthony, art Contributed-by: petr.pchelko@oracle.com
jdk/src/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java
--- a/jdk/src/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java	Thu Jan 24 15:52:25 2013 +0400
+++ b/jdk/src/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java	Thu Jan 24 15:55:04 2013 +0400
@@ -923,6 +923,10 @@
             return false;
         }
 
+        if (blocker instanceof CPrinterDialogPeer) {
+            return true;
+        }
+
         CPlatformWindow pWindow = (CPlatformWindow)blocker.getPlatformWindow();
 
         pWindow.orderAboveSiblings();