{"action":"created","issue":{"url":"https://api.github.com/repos/pygame/pygame/issues/1475","repository_url":"https://api.github.com/repos/pygame/pygame","labels_url":"https://api.github.com/repos/pygame/pygame/issues/1475/labels{/name}","comments_url":"https://api.github.com/repos/pygame/pygame/issues/1475/comments","events_url":"https://api.github.com/repos/pygame/pygame/issues/1475/events","html_url":"https://github.com/pygame/pygame/issues/1475","id":515940615,"node_id":"MDU6SXNzdWU1MTU5NDA2MTU=","number":1475,"title":"Pygame 2.0.0dev6: display surface has size (1,1)","user":{"login":"fladd","id":2971539,"node_id":"MDQ6VXNlcjI5NzE1Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/2971539?v=4","gravatar_id":"","url":"https://api.github.com/users/fladd","html_url":"https://github.com/fladd","followers_url":"https://api.github.com/users/fladd/followers","following_url":"https://api.github.com/users/fladd/following{/other_user}","gists_url":"https://api.github.com/users/fladd/gists{/gist_id}","starred_url":"https://api.github.com/users/fladd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fladd/subscriptions","organizations_url":"https://api.github.com/users/fladd/orgs","repos_url":"https://api.github.com/users/fladd/repos","events_url":"https://api.github.com/users/fladd/events{/privacy}","received_events_url":"https://api.github.com/users/fladd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-11-01T06:42:43Z","updated_at":"2019-11-01T10:15:35Z","closed_at":null,"author_association":"NONE","body":"On MacOS with Pygame 2, this\r\n\r\n```\r\nimport pygame\r\npygame.init()\r\nprint(pygame.__version__)\r\nscreen = pygame.display.set_mode((400, 300), pygame.DOUBLEBUF | pygame.OPENGL)\r\nprint(screen.get_size())\r\n```\r\n\r\nwill result in\r\n\r\n```\r\n2.0.0.dev6\r\n(1, 1)\r\n```\r\n\r\nwhile in Pygame 1.9, it used to be\r\n\r\n```\r\n1.9.6\r\n(400, 300)\r\n```"},"comment":{"url":"https://api.github.com/repos/pygame/pygame/issues/comments/548737390","html_url":"https://github.com/pygame/pygame/issues/1475#issuecomment-548737390","issue_url":"https://api.github.com/repos/pygame/pygame/issues/1475","id":548737390,"node_id":"MDEyOklzc3VlQ29tbWVudDU0ODczNzM5MA==","user":{"login":"robertpfeiffer","id":10253,"node_id":"MDQ6VXNlcjEwMjUz","avatar_url":"https://avatars3.githubusercontent.com/u/10253?v=4","gravatar_id":"","url":"https://api.github.com/users/robertpfeiffer","html_url":"https://github.com/robertpfeiffer","followers_url":"https://api.github.com/users/robertpfeiffer/followers","following_url":"https://api.github.com/users/robertpfeiffer/following{/other_user}","gists_url":"https://api.github.com/users/robertpfeiffer/gists{/gist_id}","starred_url":"https://api.github.com/users/robertpfeiffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertpfeiffer/subscriptions","organizations_url":"https://api.github.com/users/robertpfeiffer/orgs","repos_url":"https://api.github.com/users/robertpfeiffer/repos","events_url":"https://api.github.com/users/robertpfeiffer/events{/privacy}","received_events_url":"https://api.github.com/users/robertpfeiffer/received_events","type":"User","site_admin":false},"created_at":"2019-11-01T10:15:35Z","updated_at":"2019-11-01T10:15:35Z","author_association":"CONTRIBUTOR","body":"I'm not sure if relying on the content of the fake display surface is a good idea. Do any of your games rely on this behaviour? In the future we will provide a better API for this, but if there are games that rely on the size of the fake display surface being the window size, we could re-create the old behaviour."}}
{"actor":{"display_login":"robertpfeiffer"}}