{"action":"created","issue":{"url":"https://api.github.com/repos/libretro/RetroArch/issues/2699","repository_url":"https://api.github.com/repos/libretro/RetroArch","labels_url":"https://api.github.com/repos/libretro/RetroArch/issues/2699/labels{/name}","comments_url":"https://api.github.com/repos/libretro/RetroArch/issues/2699/comments","events_url":"https://api.github.com/repos/libretro/RetroArch/issues/2699/events","html_url":"https://github.com/libretro/RetroArch/issues/2699","id":131566891,"number":2699,"title":"Issues with outputting in exclusive fullscreen to a secondary monitor in Windows","user":{"login":"GPDP2","id":4389393,"avatar_url":"https://avatars.githubusercontent.com/u/4389393?v=3","gravatar_id":"","url":"https://api.github.com/users/GPDP2","html_url":"https://github.com/GPDP2","followers_url":"https://api.github.com/users/GPDP2/followers","following_url":"https://api.github.com/users/GPDP2/following{/other_user}","gists_url":"https://api.github.com/users/GPDP2/gists{/gist_id}","starred_url":"https://api.github.com/users/GPDP2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GPDP2/subscriptions","organizations_url":"https://api.github.com/users/GPDP2/orgs","repos_url":"https://api.github.com/users/GPDP2/repos","events_url":"https://api.github.com/users/GPDP2/events{/privacy}","received_events_url":"https://api.github.com/users/GPDP2/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/libretro/RetroArch/labels/minor%20bug","name":"minor bug","color":"fbca04"},{"url":"https://api.github.com/repos/libretro/RetroArch/labels/unconfirmed","name":"unconfirmed","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-05T06:21:48Z","updated_at":"2016-03-29T13:42:44Z","closed_at":null,"body":"In recent builds, whenever I set RetroArch to output to a secondary monitor in exclusive fullscreen, if the existing desktop resolution said monitor is set to differs from the resolution I'm telling RetroArch to output at (say, if the desktop is set to 1024x768 and I tell RetroArch to output at 640x480), RetroArch will appear windowed at first. To get it to display in exclusive fullscreen on the secondary monitor properly, I have to do one of two things: either toggle fullscreen off, then back on (i.e. press F twice), or make sure the desktop resolution is already set to the resolution I want RetroArch to output before I run the program. Outputting to the primary monitor, for whatever reason, is perfectly fine, and does not suffer from this problem.\r\n\r\nThankfully, I mentioned this problem elsewhere, and a kind anonymous person ran a git bisect, and located the commit that causes this:\r\n\r\nhttps://github.com/libretro/RetroArch/commit/8327302d6b92dd11467e6a1facabfa557ede6a43\r\n\r\nSure enough, a build right before that commit does not have this issue."},"comment":{"url":"https://api.github.com/repos/libretro/RetroArch/issues/comments/202898890","html_url":"https://github.com/libretro/RetroArch/issues/2699#issuecomment-202898890","issue_url":"https://api.github.com/repos/libretro/RetroArch/issues/2699","id":202898890,"user":{"login":"Themaister","id":163683,"avatar_url":"https://avatars.githubusercontent.com/u/163683?v=3","gravatar_id":"","url":"https://api.github.com/users/Themaister","html_url":"https://github.com/Themaister","followers_url":"https://api.github.com/users/Themaister/followers","following_url":"https://api.github.com/users/Themaister/following{/other_user}","gists_url":"https://api.github.com/users/Themaister/gists{/gist_id}","starred_url":"https://api.github.com/users/Themaister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Themaister/subscriptions","organizations_url":"https://api.github.com/users/Themaister/orgs","repos_url":"https://api.github.com/users/Themaister/repos","events_url":"https://api.github.com/users/Themaister/events{/privacy}","received_events_url":"https://api.github.com/users/Themaister/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T13:42:44Z","updated_at":"2016-03-29T13:42:44Z","body":"I think I found what might be going wrong, there is one very subtle bug in win32_set_style that could cause GetMonitorInfo to not work properly, which should be the cause for this problem:\r\n\r\nhttps://github.com/libretro/RetroArch/pull/2825/commits/87a5fd2e44984a236ceb92ec530b23e6626d1e4b"}}