present mode working with multiple displays

This commit is contained in:
codeanticode
2015-06-09 11:50:28 -04:00
parent dee0e73d12
commit cde9c5420a
+3 -1
View File
@@ -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);