Skip to content

Commit 4de0c22

Browse files
authored
Merge pull request #976 from Stefterv/windows-padding-fix
Padding fix for Windows & Linux
2 parents 59421b3 + af02ef1 commit 4de0c22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/processing/app/ui/Editor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ public void windowDeactivated(WindowEvent e) {
208208
Box box = Box.createVerticalBox();
209209
Box upper = Box.createVerticalBox();
210210

211-
if(SystemInfo.isMacFullWindowContentSupported) {
211+
if(Platform.isMacOS() && SystemInfo.isMacFullWindowContentSupported) {
212212
getRootPane().putClientProperty( "apple.awt.fullWindowContent", true );
213213
getRootPane().putClientProperty( "apple.awt.transparentTitleBar", true );
214214

0 commit comments

Comments
 (0)