Well, thanks for your answers.
To answer questions, yes I’m using Processing IDE.
I’m running P 3.5.3 on OSX — I know, but it made sense to me once…
displayWidth does the job with this little statement in settings() :
if (displayWidth==1920) fullScreen(3);
else size(displayWidth/2, displayHeight/2);
Doing my researches, I found this post about
surfaceLocation(), thanks to you GoToLoop :
Using this, I’m able to set the location of the draw window in laptop only mode, so that it doesn’t overlap the editor and then, my issue is fixed…
… BUT there’s still things I don’t understand. Unplugging my third screen, I got these lines in my console :
Display 3 does not exist, using the default display instead.
Display 1 is sun.awt.CGraphicsDevice@5649fd9b
Display 2 is sun.awt.CGraphicsDevice@6adede5
It looks to me that if Processing can retrieve these informations, there should be a way for me to get and use them, no ?