# HG changeset patch # User serb # Date 1359028504 -14400 # Node ID 65d946035fa94d0ae73dcf2a672feb5d7511c985 # Parent 37781d0e61b44f6d46b4c10721038108ae11572b 8005997: [macosx] Printer Dialog opens an additional title bar Reviewed-by: anthony, art Contributed-by: petr.pchelko@oracle.com diff -r 37781d0e61b4 -r 65d946035fa9 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();