From 0c116554a549a0552d3beb67c428fa02c05a75dd Mon Sep 17 00:00:00 2001 From: Denis Fokin Date: Wed, 17 Apr 2013 14:52:06 +0400 Subject: [PATCH] We should be sure that the frame will be asked about insets after the fulscreen mode flag is valid. --- .../src/com/intellij/ui/mac/MacMainFrameDecorator.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/platform/platform-impl/src/com/intellij/ui/mac/MacMainFrameDecorator.java b/platform/platform-impl/src/com/intellij/ui/mac/MacMainFrameDecorator.java index 05294fea7571..ee2f2b888bd8 100644 --- a/platform/platform-impl/src/com/intellij/ui/mac/MacMainFrameDecorator.java +++ b/platform/platform-impl/src/com/intellij/ui/mac/MacMainFrameDecorator.java @@ -186,14 +186,15 @@ public class MacMainFrameDecorator extends IdeFrameDecorator implements UISettin @Override public void windowEnteredFullScreen(AppEvent.FullScreenEvent event) { if (!ORACLE_BUG_ID_8003173) { - enterFullscreen(); + enterFullscreen(); } } @Override public void windowExitedFullScreen(AppEvent.FullScreenEvent event) { if (!ORACLE_BUG_ID_8003173) { - exitFullscreen(); + exitFullscreen(); + myFrame.validate(); } } });