From af02ef17e8f1aff534e106548a88205bca96b840 Mon Sep 17 00:00:00 2001 From: Stef Tervelde Date: Sat, 15 Mar 2025 06:49:32 +0100 Subject: [PATCH] Bugfix For Window & Linux [skip ci] --- app/src/processing/app/ui/Editor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/processing/app/ui/Editor.java b/app/src/processing/app/ui/Editor.java index f87ba4ee19..2780653434 100644 --- a/app/src/processing/app/ui/Editor.java +++ b/app/src/processing/app/ui/Editor.java @@ -208,7 +208,7 @@ public void windowDeactivated(WindowEvent e) { Box box = Box.createVerticalBox(); Box upper = Box.createVerticalBox(); - if(SystemInfo.isMacFullWindowContentSupported) { + if(Platform.isMacOS() && SystemInfo.isMacFullWindowContentSupported) { getRootPane().putClientProperty( "apple.awt.fullWindowContent", true ); getRootPane().putClientProperty( "apple.awt.transparentTitleBar", true );