summaryrefslogtreecommitdiffstats
path: root/depends/launcher/org/multimc
diff options
context:
space:
mode:
Diffstat (limited to 'depends/launcher/org/multimc')
-rw-r--r--depends/launcher/org/multimc/onesix/OneSixLauncher.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/depends/launcher/org/multimc/onesix/OneSixLauncher.java b/depends/launcher/org/multimc/onesix/OneSixLauncher.java
index 0bd5c7ce..784c3522 100644
--- a/depends/launcher/org/multimc/onesix/OneSixLauncher.java
+++ b/depends/launcher/org/multimc/onesix/OneSixLauncher.java
@@ -181,6 +181,21 @@ public class OneSixLauncher implements Launcher
int launchWithMainClass()
{
+ // window size, title and state, onesix
+ if (maximize)
+ {
+ // FIXME: there is no good way to maximize the minecraft window in onesix.
+ // the following often breaks linux screen setups
+ // mcparams.add("--fullscreen");
+ }
+ else
+ {
+ mcparams.add("--width");
+ mcparams.add(Integer.toString(winSize.width));
+ mcparams.add("--height");
+ mcparams.add(Integer.toString(winSize.height));
+ }
+
// Get the Minecraft Class.
Class<?> mc;
try