From ea7e6698bd8c0193ac815971b02448d0d222f2f2 Mon Sep 17 00:00:00 2001 From: Vassiliy Kudryashov Date: Thu, 31 Jan 2013 12:03:11 +0400 Subject: [PATCH] Fix restore maximized state under Linux --- .../src/com/intellij/openapi/wm/impl/WindowManagerImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/platform-impl/src/com/intellij/openapi/wm/impl/WindowManagerImpl.java b/platform/platform-impl/src/com/intellij/openapi/wm/impl/WindowManagerImpl.java index a8c883bbf783..0e4078452e99 100644 --- a/platform/platform-impl/src/com/intellij/openapi/wm/impl/WindowManagerImpl.java +++ b/platform/platform-impl/src/com/intellij/openapi/wm/impl/WindowManagerImpl.java @@ -574,10 +574,10 @@ public final class WindowManagerImpl extends WindowManagerEx implements Applicat else if (myFrameBounds != null) { frame.setBounds(myFrameBounds); } - frame.setExtendedState(myFrameExtendedState); frame.setProject(project); myProject2Frame.put(project, frame); frame.setVisible(true); + frame.setExtendedState(myFrameExtendedState); } frame.addWindowListener(myActivationListener);