{"action":"opened","issue":{"url":"https://api.github.com/repos/yquake2/yquake2/issues/66","labels_url":"https://api.github.com/repos/yquake2/yquake2/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/yquake2/yquake2/issues/66/comments","events_url":"https://api.github.com/repos/yquake2/yquake2/issues/66/events","html_url":"https://github.com/yquake2/yquake2/issues/66","id":65078574,"number":66,"title":"Fullscreen switch is broken","user":{"login":"Yamagi","id":1224576,"avatar_url":"https://avatars.githubusercontent.com/u/1224576?v=3","gravatar_id":"","url":"https://api.github.com/users/Yamagi","html_url":"https://github.com/Yamagi","followers_url":"https://api.github.com/users/Yamagi/followers","following_url":"https://api.github.com/users/Yamagi/following{/other_user}","gists_url":"https://api.github.com/users/Yamagi/gists{/gist_id}","starred_url":"https://api.github.com/users/Yamagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yamagi/subscriptions","organizations_url":"https://api.github.com/users/Yamagi/orgs","repos_url":"https://api.github.com/users/Yamagi/repos","events_url":"https://api.github.com/users/Yamagi/events{/privacy}","received_events_url":"https://api.github.com/users/Yamagi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-29T17:06:01Z","updated_at":"2015-03-29T17:06:01Z","closed_at":null,"body":"This is just a note for myself: The fullscreen switch code is broken. There are two different codepathes, not orthogonal to each other. \r\n\r\n  * When vid_fullscreen is modified by hand, VID_CheckChanges() restarts the refresher. \r\n  * When the user presses Alt-Enter the scary function GLimp_ToggleFullscreen() is called, performing a fullscreen switch through SDL. In this case the gamma settings are not reapplied to the new window."}}