Skip to content

Commit f9faa49

Browse files
committed
do not show NSWindow warning in the console, cannot hide the native errors though
1 parent 93bc3bd commit f9faa49

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/src/processing/app/ui/EditorConsole.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,8 @@ public void message(String what, boolean err) {
233233
// https://github.com/processing/processing/issues/5462
234234
// Some discussion on the Apple's developer forums seems to suggest that is not serious:
235235
// https://forums.developer.apple.com/thread/105244
236+
} else if (err && what.contains("NSWindow drag regions should only be invalidated on the Main Thread")) {
237+
// Keep hiding warnings triggered by JOGL on recent macOS versions (this is from 10.14 onwards I think).
236238
} else if (err && what.contains("Make pbuffer:")) {
237239
// Remove initalization warning from LWJGL.
238240
} else if (err && what.contains("XInitThreads() called for concurrent")) {

0 commit comments

Comments
 (0)