mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-29 18:52:13 +01:00
Revert "MacOSX: fullscreen support. Fixes #3256"
This reverts commit e375571945900c9fa629fe72d0bba46b9b08c176.
This commit is contained in:
parent
b0cb2c4e52
commit
e08211309f
@ -28,12 +28,12 @@ import cc.arduino.view.StubMenuListener;
|
|||||||
import com.google.common.base.Predicate;
|
import com.google.common.base.Predicate;
|
||||||
import com.jcraft.jsch.JSchException;
|
import com.jcraft.jsch.JSchException;
|
||||||
import jssc.SerialPortException;
|
import jssc.SerialPortException;
|
||||||
|
import org.apache.commons.compress.utils.IOUtils;
|
||||||
import processing.app.debug.*;
|
import processing.app.debug.*;
|
||||||
import processing.app.forms.PasswordAuthorizationDialog;
|
import processing.app.forms.PasswordAuthorizationDialog;
|
||||||
import processing.app.helpers.OSUtils;
|
import processing.app.helpers.OSUtils;
|
||||||
import processing.app.helpers.PreferencesMapException;
|
import processing.app.helpers.PreferencesMapException;
|
||||||
import processing.app.legacy.PApplet;
|
import processing.app.legacy.PApplet;
|
||||||
import processing.app.macosx.ThinkDifferent;
|
|
||||||
import processing.app.syntax.*;
|
import processing.app.syntax.*;
|
||||||
import processing.app.tools.*;
|
import processing.app.tools.*;
|
||||||
import static processing.app.I18n._;
|
import static processing.app.I18n._;
|
||||||
@ -193,10 +193,6 @@ public class Editor extends JFrame implements RunnerListener {
|
|||||||
|
|
||||||
Base.setIcon(this);
|
Base.setIcon(this);
|
||||||
|
|
||||||
if (OSUtils.isMacOS()) {
|
|
||||||
ThinkDifferent.setFullscreenable(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Install default actions for Run, Present, etc.
|
// Install default actions for Run, Present, etc.
|
||||||
resetHandlers();
|
resetHandlers();
|
||||||
|
|
||||||
|
@ -26,7 +26,6 @@ import com.apple.eawt.*;
|
|||||||
import processing.app.Base;
|
import processing.app.Base;
|
||||||
import processing.app.Editor;
|
import processing.app.Editor;
|
||||||
|
|
||||||
import javax.swing.*;
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@ -94,10 +93,6 @@ public class ThinkDifferent {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void setFullscreenable(JFrame frame) {
|
|
||||||
FullScreenUtilities.setWindowCanFullScreen(frame, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
private static boolean waitForBase() {
|
private static boolean waitForBase() {
|
||||||
int slept = 0;
|
int slept = 0;
|
||||||
while (Base.INSTANCE == null) {
|
while (Base.INSTANCE == null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user