diff --git a/core/src/processing/opengl/PSurfaceJOGL.java b/core/src/processing/opengl/PSurfaceJOGL.java index 0b7db3fce..7df3d34d6 100644 --- a/core/src/processing/opengl/PSurfaceJOGL.java +++ b/core/src/processing/opengl/PSurfaceJOGL.java @@ -442,7 +442,9 @@ public class PSurfaceJOGL implements PSurface { window.setSize(screenRect.width, screenRect.height); PApplet.hideMenuBar(); - window.setTopLevelPosition(0, 0); + window.setTopLevelPosition(sketchX + screenRect.x, + sketchY + screenRect.y); +// window.setTopLevelPosition(0, 0); window.setFullscreen(true);