changeset 6097:ea21d3a2e49e

8005997: [macosx] Printer Dialog opens an additional title bar Reviewed-by: anthony, art
author pchelko
date Thu, 23 May 2013 13:10:47 +0100
parents 7376234e354a
children 8e6e356df9bd
files src/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java	Thu May 23 12:39:31 2013 +0100
+++ b/src/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java	Thu May 23 13:10:47 2013 +0100
@@ -978,6 +978,10 @@
             return false;
         }
 
+        if (blocker instanceof CPrinterDialogPeer) {
+            return true;
+        }
+
         CPlatformWindow pWindow = (CPlatformWindow)blocker.getPlatformWindow();
 
         pWindow.orderAboveSiblings();