Re: Fullscreen on secondary monitor

Posted by gouessej on
URL: https://forum.jogamp.org/Fullscreen-on-secondary-monitor-tp4032833p4033317.html

Sorry. I think that we should write a page in the wiki about that as several people already ask some questions about that:
screen = virtual monitor
monitor = physical monitor

In a big desktop environment, you can use multiple physical monitors to make a single virtual monitor.

The link was broken, it's better now:
http://jogamp.org/git/?p=jogl.git;a=blob;f=src/test/com/jogamp/opengl/test/junit/newt/mm/TestScreenMode01cNEWT.java;h=377c35ade46758f608aff329e5e9a9a6eb72121f;hb=HEAD#l129

Please use this method with the Monitor you'd like to use:
http://jogamp.org/deployment/jogamp-next/javadoc/jogl/javadoc/com/jogamp/newt/opengl/GLWindow.html#setFullscreen(java.util.List)

Let me know whether it's not accurate enough and keep cool, we're here to help you ;)

Edit.: You can pass a list containing a single monitor.
Julien Gouesse | Personal blog | Website