From 9605d80e64e458d788a09bcc7da98689373daef2 Mon Sep 17 00:00:00 2001 From: codeanticode Date: Thu, 10 Jan 2019 07:04:04 -0500 Subject: [PATCH] do not show NSWindow warning in the console, cannot hide the native errors though --- app/src/processing/app/ui/EditorConsole.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/processing/app/ui/EditorConsole.java b/app/src/processing/app/ui/EditorConsole.java index da7fe5472..653fe40c8 100644 --- a/app/src/processing/app/ui/EditorConsole.java +++ b/app/src/processing/app/ui/EditorConsole.java @@ -233,6 +233,8 @@ public class EditorConsole extends JScrollPane { // https://github.com/processing/processing/issues/5462 // Some discussion on the Apple's developer forums seems to suggest that is not serious: // https://forums.developer.apple.com/thread/105244 + } else if (err && what.contains("NSWindow drag regions should only be invalidated on the Main Thread")) { + // Keep hiding warnings triggered by JOGL on recent macOS versions (this is from 10.14 onwards I think). } else if (err && what.contains("Make pbuffer:")) { // Remove initalization warning from LWJGL. } else if (err && what.contains("XInitThreads() called for concurrent")) {