From 004a35d07335854184fdd335920b7210eebd66d9 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Wed, 18 Oct 2017 17:14:46 +0100 Subject: [PATCH] JAL-2779 hook in our own AquaInternalFrameManager when on OSX --- src/jalview/gui/Desktop.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/jalview/gui/Desktop.java b/src/jalview/gui/Desktop.java index 1f8983f..cb3ed95 100644 --- a/src/jalview/gui/Desktop.java +++ b/src/jalview/gui/Desktop.java @@ -361,7 +361,9 @@ public class Desktop extends jalview.jbgui.GDesktop desktop.setDesktopManager( new MyDesktopManager( (Platform.isWindows() ? new DefaultDesktopManager() - : desktop.getDesktopManager()))); + : Platform.isAMac() + ? new AquaInternalFrameManager() + : desktop.getDesktopManager()))); Rectangle dims = getLastKnownDimensions(""); if (dims != null) -- 1.7.10.2