Skip to content

Commit e082113

Browse files
author
Federico Fissore
committed
Revert "MacOSX: fullscreen support. Fixes #3256"
This reverts commit e375571.
1 parent b0cb2c4 commit e082113

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

app/src/processing/app/Editor.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@
2828
import com.google.common.base.Predicate;
2929
import com.jcraft.jsch.JSchException;
3030
import jssc.SerialPortException;
31+
import org.apache.commons.compress.utils.IOUtils;
3132
import processing.app.debug.*;
3233
import processing.app.forms.PasswordAuthorizationDialog;
3334
import processing.app.helpers.OSUtils;
3435
import processing.app.helpers.PreferencesMapException;
3536
import processing.app.legacy.PApplet;
36-
import processing.app.macosx.ThinkDifferent;
3737
import processing.app.syntax.*;
3838
import processing.app.tools.*;
3939
import static processing.app.I18n._;
@@ -193,10 +193,6 @@ public Editor(Base ibase, File file, int[] location, Platform platform) throws E
193193

194194
Base.setIcon(this);
195195

196-
if (OSUtils.isMacOS()) {
197-
ThinkDifferent.setFullscreenable(this);
198-
}
199-
200196
// Install default actions for Run, Present, etc.
201197
resetHandlers();
202198

app/src/processing/app/macosx/ThinkDifferent.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
import processing.app.Base;
2727
import processing.app.Editor;
2828

29-
import javax.swing.*;
3029
import java.io.File;
3130
import java.util.List;
3231

@@ -94,10 +93,6 @@ public void handleQuitRequestWith(AppEvent.QuitEvent quitEvent, QuitResponse qui
9493
});
9594
}
9695

97-
public static void setFullscreenable(JFrame frame) {
98-
FullScreenUtilities.setWindowCanFullScreen(frame, true);
99-
}
100-
10196
private static boolean waitForBase() {
10297
int slept = 0;
10398
while (Base.INSTANCE == null) {

0 commit comments

Comments
 (0)