{"action":"opened","issue":{"url":"https://api.github.com/repos/processing/processing/issues/3822","labels_url":"https://api.github.com/repos/processing/processing/issues/3822/labels{/name}","comments_url":"https://api.github.com/repos/processing/processing/issues/3822/comments","events_url":"https://api.github.com/repos/processing/processing/issues/3822/events","html_url":"https://github.com/processing/processing/issues/3822","id":107195313,"number":3822,"title":"fullscreen() is maybe too rigid ?","user":{"login":"StanLepunK","id":3332269,"avatar_url":"https://avatars.githubusercontent.com/u/3332269?v=3","gravatar_id":"","url":"https://api.github.com/users/StanLepunK","html_url":"https://github.com/StanLepunK","followers_url":"https://api.github.com/users/StanLepunK/followers","following_url":"https://api.github.com/users/StanLepunK/following{/other_user}","gists_url":"https://api.github.com/users/StanLepunK/gists{/gist_id}","starred_url":"https://api.github.com/users/StanLepunK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StanLepunK/subscriptions","organizations_url":"https://api.github.com/users/StanLepunK/orgs","repos_url":"https://api.github.com/users/StanLepunK/repos","events_url":"https://api.github.com/users/StanLepunK/events{/privacy}","received_events_url":"https://api.github.com/users/StanLepunK/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-18T12:43:44Z","updated_at":"2015-09-18T12:43:44Z","closed_at":null,"body":"I work around the fullscreen, and I've feeling this method is very rigid with the obligation to write this one at the first line of the setup. Sure there is a ton of reasons for that, but I give my feeling.\r\n\r\nthis code is not possible : \r\n````\r\nvoid setup() {\r\n  int screen = 2 ;\r\n  if (screen == 1 ) { \r\n    fullScreen(1) ;\r\n  } else {\r\n    fullScreen(2) ;\r\n  }\r\n}\r\n````\r\nthis one is not possible too \r\nvoid setup() {\r\n  boolean fullscreen = false ;\r\n  if ( fullscreen) { \r\n    fullScreen(1) ;\r\n  } else {\r\n    size(300,300) ;\r\n  }\r\n}\r\n````\r\nSo it's very hard - see impossible - when you want use information from outside to decide if you want a fullscreen or not. And if you want fullscreen to choice on which one you want display. Maybe there is something to do to give to give a little flexibility to this method ?"}}