From 751d76db1c0c9e8a269a7ebd4f306690ae1aad41 Mon Sep 17 00:00:00 2001 From: codeanticode Date: Tue, 28 May 2013 11:38:23 -0400 Subject: [PATCH] Use AWT on Linux --- core/src/processing/opengl/PGL.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/processing/opengl/PGL.java b/core/src/processing/opengl/PGL.java index a633b5154..d973952ea 100644 --- a/core/src/processing/opengl/PGL.java +++ b/core/src/processing/opengl/PGL.java @@ -193,8 +193,8 @@ public class PGL { REQUESTED_STENCIL_BITS = 8; REQUESTED_ALPHA_BITS = 8; } else if (PApplet.platform == PConstants.LINUX) { - WINDOW_TOOLKIT = NEWT; // AWT extremely broken on Linux? - EVENTS_TOOLKIT = NEWT; + WINDOW_TOOLKIT = AWT; // AWT extremely broken on Linux? With jogl-2.0-b993 + EVENTS_TOOLKIT = AWT; // appears not. USE_FBOLAYER_BY_DEFAULT = false; USE_JOGL_FBOLAYER = false; REQUESTED_DEPTH_BITS = 24;