{"action":"closed","number":32,"pull_request":{"url":"https://api.github.com/repos/emscripten-ports/SDL2/pulls/32","id":87327158,"html_url":"https://github.com/emscripten-ports/SDL2/pull/32","diff_url":"https://github.com/emscripten-ports/SDL2/pull/32.diff","patch_url":"https://github.com/emscripten-ports/SDL2/pull/32.patch","issue_url":"https://api.github.com/repos/emscripten-ports/SDL2/issues/32","number":32,"state":"closed","locked":false,"title":"Check if device pixel ratio has changed","user":{"login":"zobertke","id":2699883,"avatar_url":"https://avatars.githubusercontent.com/u/2699883?v=3","gravatar_id":"","url":"https://api.github.com/users/zobertke","html_url":"https://github.com/zobertke","followers_url":"https://api.github.com/users/zobertke/followers","following_url":"https://api.github.com/users/zobertke/following{/other_user}","gists_url":"https://api.github.com/users/zobertke/gists{/gist_id}","starred_url":"https://api.github.com/users/zobertke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zobertke/subscriptions","organizations_url":"https://api.github.com/users/zobertke/orgs","repos_url":"https://api.github.com/users/zobertke/repos","events_url":"https://api.github.com/users/zobertke/events{/privacy}","received_events_url":"https://api.github.com/users/zobertke/received_events","type":"User","site_admin":false},"body":"This pr addresses the issue that the device pixel ratio can change when there is a browser zoom action and the window_data structure was not following this change.\r\nAlso on when creating the window there is a comparison of the css size (a double) with the scaled window size (int), which did not make any sense when the css is not integral.","created_at":"2016-09-29T14:42:58Z","updated_at":"2016-10-14T16:03:54Z","closed_at":"2016-10-14T16:03:54Z","merged_at":"2016-10-14T16:03:54Z","merge_commit_sha":"cd76930cabd73fbdd1b7551f2fb12de4b0b0acea","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/emscripten-ports/SDL2/pulls/32/commits","review_comments_url":"https://api.github.com/repos/emscripten-ports/SDL2/pulls/32/comments","review_comment_url":"https://api.github.com/repos/emscripten-ports/SDL2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/emscripten-ports/SDL2/issues/32/comments","statuses_url":"https://api.github.com/repos/emscripten-ports/SDL2/statuses/8463f10df76090bde8c28be7bf3a0d3a377954fd","head":{"label":"prezi:fix_browser_zoom","ref":"fix_browser_zoom","sha":"8463f10df76090bde8c28be7bf3a0d3a377954fd","user":{"login":"prezi","id":1989101,"avatar_url":"https://avatars.githubusercontent.com/u/1989101?v=3","gravatar_id":"","url":"https://api.github.com/users/prezi","html_url":"https://github.com/prezi","followers_url":"https://api.github.com/users/prezi/followers","following_url":"https://api.github.com/users/prezi/following{/other_user}","gists_url":"https://api.github.com/users/prezi/gists{/gist_id}","starred_url":"https://api.github.com/users/prezi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prezi/subscriptions","organizations_url":"https://api.github.com/users/prezi/orgs","repos_url":"https://api.github.com/users/prezi/repos","events_url":"https://api.github.com/users/prezi/events{/privacy}","received_events_url":"https://api.github.com/users/prezi/received_events","type":"Organization","site_admin":false},"repo":{"id":69569527,"name":"SDL2","full_name":"prezi/SDL2","owner":{"login":"prezi","id":1989101,"avatar_url":"https://avatars.githubusercontent.com/u/1989101?v=3","gravatar_id":"","url":"https://api.github.com/users/prezi","html_url":"https://github.com/prezi","followers_url":"https://api.github.com/users/prezi/followers","following_url":"https://api.github.com/users/prezi/following{/other_user}","gists_url":"https://api.github.com/users/prezi/gists{/gist_id}","starred_url":"https://api.github.com/users/prezi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prezi/subscriptions","organizations_url":"https://api.github.com/users/prezi/orgs","repos_url":"https://api.github.com/users/prezi/repos","events_url":"https://api.github.com/users/prezi/events{/privacy}","received_events_url":"https://api.github.com/users/prezi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/prezi/SDL2","description":null,"fork":true,"url":"https://api.github.com/repos/prezi/SDL2","forks_url":"https://api.github.com/repos/prezi/SDL2/forks","keys_url":"https://api.github.com/repos/prezi/SDL2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prezi/SDL2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prezi/SDL2/teams","hooks_url":"https://api.github.com/repos/prezi/SDL2/hooks","issue_events_url":"https://api.github.com/repos/prezi/SDL2/issues/events{/number}","events_url":"https://api.github.com/repos/prezi/SDL2/events","assignees_url":"https://api.github.com/repos/prezi/SDL2/assignees{/user}","branches_url":"https://api.github.com/repos/prezi/SDL2/branches{/branch}","tags_url":"https://api.github.com/repos/prezi/SDL2/tags","blobs_url":"https://api.github.com/repos/prezi/SDL2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prezi/SDL2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prezi/SDL2/git/refs{/sha}","trees_url":"https://api.github.com/repos/prezi/SDL2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prezi/SDL2/statuses/{sha}","languages_url":"https://api.github.com/repos/prezi/SDL2/languages","stargazers_url":"https://api.github.com/repos/prezi/SDL2/stargazers","contributors_url":"https://api.github.com/repos/prezi/SDL2/contributors","subscribers_url":"https://api.github.com/repos/prezi/SDL2/subscribers","subscription_url":"https://api.github.com/repos/prezi/SDL2/subscription","commits_url":"https://api.github.com/repos/prezi/SDL2/commits{/sha}","git_commits_url":"https://api.github.com/repos/prezi/SDL2/git/commits{/sha}","comments_url":"https://api.github.com/repos/prezi/SDL2/comments{/number}","issue_comment_url":"https://api.github.com/repos/prezi/SDL2/issues/comments{/number}","contents_url":"https://api.github.com/repos/prezi/SDL2/contents/{+path}","compare_url":"https://api.github.com/repos/prezi/SDL2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prezi/SDL2/merges","archive_url":"https://api.github.com/repos/prezi/SDL2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prezi/SDL2/downloads","issues_url":"https://api.github.com/repos/prezi/SDL2/issues{/number}","pulls_url":"https://api.github.com/repos/prezi/SDL2/pulls{/number}","milestones_url":"https://api.github.com/repos/prezi/SDL2/milestones{/number}","notifications_url":"https://api.github.com/repos/prezi/SDL2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prezi/SDL2/labels{/name}","releases_url":"https://api.github.com/repos/prezi/SDL2/releases{/id}","deployments_url":"https://api.github.com/repos/prezi/SDL2/deployments","created_at":"2016-09-29T13:21:42Z","updated_at":"2016-09-29T13:21:52Z","pushed_at":"2016-10-14T15:16:52Z","git_url":"git://github.com/prezi/SDL2.git","ssh_url":"git@github.com:prezi/SDL2.git","clone_url":"https://github.com/prezi/SDL2.git","svn_url":"https://github.com/prezi/SDL2","homepage":null,"size":116397,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"emscripten-ports:master","ref":"master","sha":"778fe55bd884cf301a8bda51445f72b24816b648","user":{"login":"emscripten-ports","id":8116924,"avatar_url":"https://avatars.githubusercontent.com/u/8116924?v=3","gravatar_id":"","url":"https://api.github.com/users/emscripten-ports","html_url":"https://github.com/emscripten-ports","followers_url":"https://api.github.com/users/emscripten-ports/followers","following_url":"https://api.github.com/users/emscripten-ports/following{/other_user}","gists_url":"https://api.github.com/users/emscripten-ports/gists{/gist_id}","starred_url":"https://api.github.com/users/emscripten-ports/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emscripten-ports/subscriptions","organizations_url":"https://api.github.com/users/emscripten-ports/orgs","repos_url":"https://api.github.com/users/emscripten-ports/repos","events_url":"https://api.github.com/users/emscripten-ports/events{/privacy}","received_events_url":"https://api.github.com/users/emscripten-ports/received_events","type":"Organization","site_admin":false},"repo":{"id":25379207,"name":"SDL2","full_name":"emscripten-ports/SDL2","owner":{"login":"emscripten-ports","id":8116924,"avatar_url":"https://avatars.githubusercontent.com/u/8116924?v=3","gravatar_id":"","url":"https://api.github.com/users/emscripten-ports","html_url":"https://github.com/emscripten-ports","followers_url":"https://api.github.com/users/emscripten-ports/followers","following_url":"https://api.github.com/users/emscripten-ports/following{/other_user}","gists_url":"https://api.github.com/users/emscripten-ports/gists{/gist_id}","starred_url":"https://api.github.com/users/emscripten-ports/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emscripten-ports/subscriptions","organizations_url":"https://api.github.com/users/emscripten-ports/orgs","repos_url":"https://api.github.com/users/emscripten-ports/repos","events_url":"https://api.github.com/users/emscripten-ports/events{/privacy}","received_events_url":"https://api.github.com/users/emscripten-ports/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/emscripten-ports/SDL2","description":null,"fork":false,"url":"https://api.github.com/repos/emscripten-ports/SDL2","forks_url":"https://api.github.com/repos/emscripten-ports/SDL2/forks","keys_url":"https://api.github.com/repos/emscripten-ports/SDL2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emscripten-ports/SDL2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emscripten-ports/SDL2/teams","hooks_url":"https://api.github.com/repos/emscripten-ports/SDL2/hooks","issue_events_url":"https://api.github.com/repos/emscripten-ports/SDL2/issues/events{/number}","events_url":"https://api.github.com/repos/emscripten-ports/SDL2/events","assignees_url":"https://api.github.com/repos/emscripten-ports/SDL2/assignees{/user}","branches_url":"https://api.github.com/repos/emscripten-ports/SDL2/branches{/branch}","tags_url":"https://api.github.com/repos/emscripten-ports/SDL2/tags","blobs_url":"https://api.github.com/repos/emscripten-ports/SDL2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emscripten-ports/SDL2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emscripten-ports/SDL2/git/refs{/sha}","trees_url":"https://api.github.com/repos/emscripten-ports/SDL2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emscripten-ports/SDL2/statuses/{sha}","languages_url":"https://api.github.com/repos/emscripten-ports/SDL2/languages","stargazers_url":"https://api.github.com/repos/emscripten-ports/SDL2/stargazers","contributors_url":"https://api.github.com/repos/emscripten-ports/SDL2/contributors","subscribers_url":"https://api.github.com/repos/emscripten-ports/SDL2/subscribers","subscription_url":"https://api.github.com/repos/emscripten-ports/SDL2/subscription","commits_url":"https://api.github.com/repos/emscripten-ports/SDL2/commits{/sha}","git_commits_url":"https://api.github.com/repos/emscripten-ports/SDL2/git/commits{/sha}","comments_url":"https://api.github.com/repos/emscripten-ports/SDL2/comments{/number}","issue_comment_url":"https://api.github.com/repos/emscripten-ports/SDL2/issues/comments{/number}","contents_url":"https://api.github.com/repos/emscripten-ports/SDL2/contents/{+path}","compare_url":"https://api.github.com/repos/emscripten-ports/SDL2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emscripten-ports/SDL2/merges","archive_url":"https://api.github.com/repos/emscripten-ports/SDL2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emscripten-ports/SDL2/downloads","issues_url":"https://api.github.com/repos/emscripten-ports/SDL2/issues{/number}","pulls_url":"https://api.github.com/repos/emscripten-ports/SDL2/pulls{/number}","milestones_url":"https://api.github.com/repos/emscripten-ports/SDL2/milestones{/number}","notifications_url":"https://api.github.com/repos/emscripten-ports/SDL2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emscripten-ports/SDL2/labels{/name}","releases_url":"https://api.github.com/repos/emscripten-ports/SDL2/releases{/id}","deployments_url":"https://api.github.com/repos/emscripten-ports/SDL2/deployments","created_at":"2014-10-17T22:11:09Z","updated_at":"2016-10-07T15:33:17Z","pushed_at":"2016-10-14T16:03:54Z","git_url":"git://github.com/emscripten-ports/SDL2.git","ssh_url":"git@github.com:emscripten-ports/SDL2.git","clone_url":"https://github.com/emscripten-ports/SDL2.git","svn_url":"https://github.com/emscripten-ports/SDL2","homepage":null,"size":122144,"stargazers_count":39,"watchers_count":39,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":8,"forks":14,"open_issues":8,"watchers":39,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/emscripten-ports/SDL2/pulls/32"},"html":{"href":"https://github.com/emscripten-ports/SDL2/pull/32"},"issue":{"href":"https://api.github.com/repos/emscripten-ports/SDL2/issues/32"},"comments":{"href":"https://api.github.com/repos/emscripten-ports/SDL2/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/emscripten-ports/SDL2/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/emscripten-ports/SDL2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/emscripten-ports/SDL2/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/emscripten-ports/SDL2/statuses/8463f10df76090bde8c28be7bf3a0d3a377954fd"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Daft-Freak","id":3074891,"avatar_url":"https://avatars.githubusercontent.com/u/3074891?v=3","gravatar_id":"","url":"https://api.github.com/users/Daft-Freak","html_url":"https://github.com/Daft-Freak","followers_url":"https://api.github.com/users/Daft-Freak/followers","following_url":"https://api.github.com/users/Daft-Freak/following{/other_user}","gists_url":"https://api.github.com/users/Daft-Freak/gists{/gist_id}","starred_url":"https://api.github.com/users/Daft-Freak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daft-Freak/subscriptions","organizations_url":"https://api.github.com/users/Daft-Freak/orgs","repos_url":"https://api.github.com/users/Daft-Freak/repos","events_url":"https://api.github.com/users/Daft-Freak/events{/privacy}","received_events_url":"https://api.github.com/users/Daft-Freak/received_events","type":"User","site_admin":false},"comments":4,"review_comments":2,"commits":1,"additions":7,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"Daft-Freak"}}