changeset 24134 | 46d80fad2e48 |
parent 23651 | e41298d0da2f |
child 24534 | 07cf38b730b5 |
--- a/jdk/src/macosx/native/sun/awt/AWTWindow.m Tue Mar 25 14:16:53 2014 -0700 +++ b/jdk/src/macosx/native/sun/awt/AWTWindow.m Wed Mar 26 17:01:22 2014 +0400 @@ -762,6 +762,10 @@ return lastKeyWindow; } +- (BOOL)windowShouldZoom:(NSWindow *)window toFrame:(NSRect)newFrame { + return !NSEqualSizes(self.nsWindow.frame.size, newFrame.size); +} + @end // AWTWindow