src/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java

Print this page

        

@@ -473,11 +473,13 @@
         if (peer == null || isMaximized()) {
             return;
         }
         if (!undecorated) {
             zoomed = true;
+            if(!CWrapper.NSWindow.isZoomed(getNSWindowPtr())){
             CWrapper.NSWindow.zoom(getNSWindowPtr());
+            }
         } else {
             deliverZoom(true);
 
             this.normalBounds = peer.getBounds();