From 8fecd600c3d6a694cb4ae92dac348dd280f95a91 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Sat, 2 Aug 2014 19:04:25 +0000 Subject: [PATCH] * better FB -> GP switching behaviour --- source/net/filebot/ui/MainFrame.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/net/filebot/ui/MainFrame.java b/source/net/filebot/ui/MainFrame.java index 38d2ffba..ab2ea063 100644 --- a/source/net/filebot/ui/MainFrame.java +++ b/source/net/filebot/ui/MainFrame.java @@ -140,7 +140,11 @@ public class MainFrame extends JFrame { }); pad.setDefaultCloseOperation(DISPOSE_ON_CLOSE); - pad.setModalExclusionType(ModalExclusionType.APPLICATION_EXCLUDE); + pad.setModalExclusionType(ModalExclusionType.TOOLKIT_EXCLUDE); + + if (Settings.isMacSandbox()) { + MacAppHelper.setWindowCanFullScreen(pad); + } pad.setLocationByPlatform(true); pad.setVisible(true); } catch (IOException e) {