git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5cce44
)
JAL-2779 hook in our own AquaInternalFrameManager when on OSX
author
Jim Procter
<jprocter@issues.jalview.org>
Wed, 18 Oct 2017 16:14:46 +0000
(17:14 +0100)
committer
Jim Procter
<jprocter@issues.jalview.org>
Wed, 18 Oct 2017 16:14:46 +0000
(17:14 +0100)
src/jalview/gui/Desktop.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/Desktop.java
b/src/jalview/gui/Desktop.java
index
1f8983f
..
cb3ed95
100644
(file)
--- 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)