{"action":"created","comment":{"url":"https://api.github.com/repos/LaurentGomila/SFML/pulls/comments/24649061","id":24649061,"diff_hunk":"@@ -194,24 +194,21 @@ bool InputImpl::isMouseButtonPressed(Mouse::Button button)\n \n     // Get pointer mask\n     xcb_query_pointer_reply_t* pointer = xcb_query_pointer_reply(connection, xcb_query_pointer(connection, XDefaultRootWindow(display)), NULL);\n+    uint16_t mask = pointer->mask;","path":"src/SFML/Window/Unix/InputImpl.cpp","position":4,"original_position":4,"commit_id":"226b619c2e4049afd4ad3f46c916ae593aa58d1b","original_commit_id":"226b619c2e4049afd4ad3f46c916ae593aa58d1b","user":{"login":"LaurentGomila","id":245489,"avatar_url":"https://avatars.githubusercontent.com/u/245489?v=3","gravatar_id":"","url":"https://api.github.com/users/LaurentGomila","html_url":"https://github.com/LaurentGomila","followers_url":"https://api.github.com/users/LaurentGomila/followers","following_url":"https://api.github.com/users/LaurentGomila/following{/other_user}","gists_url":"https://api.github.com/users/LaurentGomila/gists{/gist_id}","starred_url":"https://api.github.com/users/LaurentGomila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaurentGomila/subscriptions","organizations_url":"https://api.github.com/users/LaurentGomila/orgs","repos_url":"https://api.github.com/users/LaurentGomila/repos","events_url":"https://api.github.com/users/LaurentGomila/events{/privacy}","received_events_url":"https://api.github.com/users/LaurentGomila/received_events","type":"User","site_admin":false},"body":"Look at the original issue, it is all explained. The \"break\" statements were missing, and instead of just adding them I suggested a better rewrite.","created_at":"2015-02-13T07:58:19Z","updated_at":"2015-02-13T07:58:19Z","html_url":"https://github.com/LaurentGomila/SFML/pull/797#discussion_r24649061","pull_request_url":"https://api.github.com/repos/LaurentGomila/SFML/pulls/797","_links":{"self":{"href":"https://api.github.com/repos/LaurentGomila/SFML/pulls/comments/24649061"},"html":{"href":"https://github.com/LaurentGomila/SFML/pull/797#discussion_r24649061"},"pull_request":{"href":"https://api.github.com/repos/LaurentGomila/SFML/pulls/797"}}},"pull_request":{"url":"https://api.github.com/repos/LaurentGomila/SFML/pulls/797","id":29089246,"html_url":"https://github.com/LaurentGomila/SFML/pull/797","diff_url":"https://github.com/LaurentGomila/SFML/pull/797.diff","patch_url":"https://github.com/LaurentGomila/SFML/pull/797.patch","issue_url":"https://api.github.com/repos/LaurentGomila/SFML/issues/797","number":797,"state":"open","locked":false,"title":"Fixed two trivial XCB related bugs.","user":{"login":"eXpl0it3r","id":920861,"avatar_url":"https://avatars.githubusercontent.com/u/920861?v=3","gravatar_id":"","url":"https://api.github.com/users/eXpl0it3r","html_url":"https://github.com/eXpl0it3r","followers_url":"https://api.github.com/users/eXpl0it3r/followers","following_url":"https://api.github.com/users/eXpl0it3r/following{/other_user}","gists_url":"https://api.github.com/users/eXpl0it3r/gists{/gist_id}","starred_url":"https://api.github.com/users/eXpl0it3r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eXpl0it3r/subscriptions","organizations_url":"https://api.github.com/users/eXpl0it3r/orgs","repos_url":"https://api.github.com/users/eXpl0it3r/repos","events_url":"https://api.github.com/users/eXpl0it3r/events{/privacy}","received_events_url":"https://api.github.com/users/eXpl0it3r/received_events","type":"User","site_admin":false},"body":"Fixes #786 \r\n\r\nWould be nice if someone could test this. @jcowgill maybe? :wink:","created_at":"2015-02-11T13:07:51Z","updated_at":"2015-02-13T07:58:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cabd5b3b3e0a0640f4ef5d6e7714db1bc4858059","assignee":null,"milestone":{"url":"https://api.github.com/repos/LaurentGomila/SFML/milestones/9","labels_url":"https://api.github.com/repos/LaurentGomila/SFML/milestones/9/labels","id":821119,"number":9,"title":"2.3","description":"","creator":{"login":"Bromeon","id":708488,"avatar_url":"https://avatars.githubusercontent.com/u/708488?v=3","gravatar_id":"","url":"https://api.github.com/users/Bromeon","html_url":"https://github.com/Bromeon","followers_url":"https://api.github.com/users/Bromeon/followers","following_url":"https://api.github.com/users/Bromeon/following{/other_user}","gists_url":"https://api.github.com/users/Bromeon/gists{/gist_id}","starred_url":"https://api.github.com/users/Bromeon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bromeon/subscriptions","organizations_url":"https://api.github.com/users/Bromeon/orgs","repos_url":"https://api.github.com/users/Bromeon/repos","events_url":"https://api.github.com/users/Bromeon/events{/privacy}","received_events_url":"https://api.github.com/users/Bromeon/received_events","type":"User","site_admin":false},"open_issues":23,"closed_issues":24,"state":"open","created_at":"2014-10-10T13:20:14Z","updated_at":"2015-02-12T11:20:09Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/LaurentGomila/SFML/pulls/797/commits","review_comments_url":"https://api.github.com/repos/LaurentGomila/SFML/pulls/797/comments","review_comment_url":"https://api.github.com/repos/LaurentGomila/SFML/pulls/comments/{number}","comments_url":"https://api.github.com/repos/LaurentGomila/SFML/issues/797/comments","statuses_url":"https://api.github.com/repos/LaurentGomila/SFML/statuses/226b619c2e4049afd4ad3f46c916ae593aa58d1b","head":{"label":"LaurentGomila:bugfix/trivial_xcb_bugs","ref":"bugfix/trivial_xcb_bugs","sha":"226b619c2e4049afd4ad3f46c916ae593aa58d1b","user":{"login":"LaurentGomila","id":245489,"avatar_url":"https://avatars.githubusercontent.com/u/245489?v=3","gravatar_id":"","url":"https://api.github.com/users/LaurentGomila","html_url":"https://github.com/LaurentGomila","followers_url":"https://api.github.com/users/LaurentGomila/followers","following_url":"https://api.github.com/users/LaurentGomila/following{/other_user}","gists_url":"https://api.github.com/users/LaurentGomila/gists{/gist_id}","starred_url":"https://api.github.com/users/LaurentGomila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaurentGomila/subscriptions","organizations_url":"https://api.github.com/users/LaurentGomila/orgs","repos_url":"https://api.github.com/users/LaurentGomila/repos","events_url":"https://api.github.com/users/LaurentGomila/events{/privacy}","received_events_url":"https://api.github.com/users/LaurentGomila/received_events","type":"User","site_admin":false},"repo":{"id":1524684,"name":"SFML","full_name":"LaurentGomila/SFML","owner":{"login":"LaurentGomila","id":245489,"avatar_url":"https://avatars.githubusercontent.com/u/245489?v=3","gravatar_id":"","url":"https://api.github.com/users/LaurentGomila","html_url":"https://github.com/LaurentGomila","followers_url":"https://api.github.com/users/LaurentGomila/followers","following_url":"https://api.github.com/users/LaurentGomila/following{/other_user}","gists_url":"https://api.github.com/users/LaurentGomila/gists{/gist_id}","starred_url":"https://api.github.com/users/LaurentGomila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaurentGomila/subscriptions","organizations_url":"https://api.github.com/users/LaurentGomila/orgs","repos_url":"https://api.github.com/users/LaurentGomila/repos","events_url":"https://api.github.com/users/LaurentGomila/events{/privacy}","received_events_url":"https://api.github.com/users/LaurentGomila/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LaurentGomila/SFML","description":"Simple and Fast Multimedia Library","fork":false,"url":"https://api.github.com/repos/LaurentGomila/SFML","forks_url":"https://api.github.com/repos/LaurentGomila/SFML/forks","keys_url":"https://api.github.com/repos/LaurentGomila/SFML/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LaurentGomila/SFML/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LaurentGomila/SFML/teams","hooks_url":"https://api.github.com/repos/LaurentGomila/SFML/hooks","issue_events_url":"https://api.github.com/repos/LaurentGomila/SFML/issues/events{/number}","events_url":"https://api.github.com/repos/LaurentGomila/SFML/events","assignees_url":"https://api.github.com/repos/LaurentGomila/SFML/assignees{/user}","branches_url":"https://api.github.com/repos/LaurentGomila/SFML/branches{/branch}","tags_url":"https://api.github.com/repos/LaurentGomila/SFML/tags","blobs_url":"https://api.github.com/repos/LaurentGomila/SFML/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LaurentGomila/SFML/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LaurentGomila/SFML/git/refs{/sha}","trees_url":"https://api.github.com/repos/LaurentGomila/SFML/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LaurentGomila/SFML/statuses/{sha}","languages_url":"https://api.github.com/repos/LaurentGomila/SFML/languages","stargazers_url":"https://api.github.com/repos/LaurentGomila/SFML/stargazers","contributors_url":"https://api.github.com/repos/LaurentGomila/SFML/contributors","subscribers_url":"https://api.github.com/repos/LaurentGomila/SFML/subscribers","subscription_url":"https://api.github.com/repos/LaurentGomila/SFML/subscription","commits_url":"https://api.github.com/repos/LaurentGomila/SFML/commits{/sha}","git_commits_url":"https://api.github.com/repos/LaurentGomila/SFML/git/commits{/sha}","comments_url":"https://api.github.com/repos/LaurentGomila/SFML/comments{/number}","issue_comment_url":"https://api.github.com/repos/LaurentGomila/SFML/issues/comments/{number}","contents_url":"https://api.github.com/repos/LaurentGomila/SFML/contents/{+path}","compare_url":"https://api.github.com/repos/LaurentGomila/SFML/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LaurentGomila/SFML/merges","archive_url":"https://api.github.com/repos/LaurentGomila/SFML/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LaurentGomila/SFML/downloads","issues_url":"https://api.github.com/repos/LaurentGomila/SFML/issues{/number}","pulls_url":"https://api.github.com/repos/LaurentGomila/SFML/pulls{/number}","milestones_url":"https://api.github.com/repos/LaurentGomila/SFML/milestones{/number}","notifications_url":"https://api.github.com/repos/LaurentGomila/SFML/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LaurentGomila/SFML/labels{/name}","releases_url":"https://api.github.com/repos/LaurentGomila/SFML/releases{/id}","created_at":"2011-03-25T08:05:25Z","updated_at":"2015-02-13T07:06:31Z","pushed_at":"2015-02-12T22:53:47Z","git_url":"git://github.com/LaurentGomila/SFML.git","ssh_url":"git@github.com:LaurentGomila/SFML.git","clone_url":"https://github.com/LaurentGomila/SFML.git","svn_url":"https://github.com/LaurentGomila/SFML","homepage":"http://www.sfml-dev.org/","size":75624,"stargazers_count":1932,"watchers_count":1932,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":416,"mirror_url":null,"open_issues_count":80,"forks":416,"open_issues":80,"watchers":1932,"default_branch":"master"}},"base":{"label":"LaurentGomila:master","ref":"master","sha":"9f2aecf9cff75307cb3f5857d193a43663cfba58","user":{"login":"LaurentGomila","id":245489,"avatar_url":"https://avatars.githubusercontent.com/u/245489?v=3","gravatar_id":"","url":"https://api.github.com/users/LaurentGomila","html_url":"https://github.com/LaurentGomila","followers_url":"https://api.github.com/users/LaurentGomila/followers","following_url":"https://api.github.com/users/LaurentGomila/following{/other_user}","gists_url":"https://api.github.com/users/LaurentGomila/gists{/gist_id}","starred_url":"https://api.github.com/users/LaurentGomila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaurentGomila/subscriptions","organizations_url":"https://api.github.com/users/LaurentGomila/orgs","repos_url":"https://api.github.com/users/LaurentGomila/repos","events_url":"https://api.github.com/users/LaurentGomila/events{/privacy}","received_events_url":"https://api.github.com/users/LaurentGomila/received_events","type":"User","site_admin":false},"repo":{"id":1524684,"name":"SFML","full_name":"LaurentGomila/SFML","owner":{"login":"LaurentGomila","id":245489,"avatar_url":"https://avatars.githubusercontent.com/u/245489?v=3","gravatar_id":"","url":"https://api.github.com/users/LaurentGomila","html_url":"https://github.com/LaurentGomila","followers_url":"https://api.github.com/users/LaurentGomila/followers","following_url":"https://api.github.com/users/LaurentGomila/following{/other_user}","gists_url":"https://api.github.com/users/LaurentGomila/gists{/gist_id}","starred_url":"https://api.github.com/users/LaurentGomila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaurentGomila/subscriptions","organizations_url":"https://api.github.com/users/LaurentGomila/orgs","repos_url":"https://api.github.com/users/LaurentGomila/repos","events_url":"https://api.github.com/users/LaurentGomila/events{/privacy}","received_events_url":"https://api.github.com/users/LaurentGomila/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LaurentGomila/SFML","description":"Simple and Fast Multimedia Library","fork":false,"url":"https://api.github.com/repos/LaurentGomila/SFML","forks_url":"https://api.github.com/repos/LaurentGomila/SFML/forks","keys_url":"https://api.github.com/repos/LaurentGomila/SFML/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LaurentGomila/SFML/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LaurentGomila/SFML/teams","hooks_url":"https://api.github.com/repos/LaurentGomila/SFML/hooks","issue_events_url":"https://api.github.com/repos/LaurentGomila/SFML/issues/events{/number}","events_url":"https://api.github.com/repos/LaurentGomila/SFML/events","assignees_url":"https://api.github.com/repos/LaurentGomila/SFML/assignees{/user}","branches_url":"https://api.github.com/repos/LaurentGomila/SFML/branches{/branch}","tags_url":"https://api.github.com/repos/LaurentGomila/SFML/tags","blobs_url":"https://api.github.com/repos/LaurentGomila/SFML/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LaurentGomila/SFML/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LaurentGomila/SFML/git/refs{/sha}","trees_url":"https://api.github.com/repos/LaurentGomila/SFML/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LaurentGomila/SFML/statuses/{sha}","languages_url":"https://api.github.com/repos/LaurentGomila/SFML/languages","stargazers_url":"https://api.github.com/repos/LaurentGomila/SFML/stargazers","contributors_url":"https://api.github.com/repos/LaurentGomila/SFML/contributors","subscribers_url":"https://api.github.com/repos/LaurentGomila/SFML/subscribers","subscription_url":"https://api.github.com/repos/LaurentGomila/SFML/subscription","commits_url":"https://api.github.com/repos/LaurentGomila/SFML/commits{/sha}","git_commits_url":"https://api.github.com/repos/LaurentGomila/SFML/git/commits{/sha}","comments_url":"https://api.github.com/repos/LaurentGomila/SFML/comments{/number}","issue_comment_url":"https://api.github.com/repos/LaurentGomila/SFML/issues/comments/{number}","contents_url":"https://api.github.com/repos/LaurentGomila/SFML/contents/{+path}","compare_url":"https://api.github.com/repos/LaurentGomila/SFML/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LaurentGomila/SFML/merges","archive_url":"https://api.github.com/repos/LaurentGomila/SFML/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LaurentGomila/SFML/downloads","issues_url":"https://api.github.com/repos/LaurentGomila/SFML/issues{/number}","pulls_url":"https://api.github.com/repos/LaurentGomila/SFML/pulls{/number}","milestones_url":"https://api.github.com/repos/LaurentGomila/SFML/milestones{/number}","notifications_url":"https://api.github.com/repos/LaurentGomila/SFML/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LaurentGomila/SFML/labels{/name}","releases_url":"https://api.github.com/repos/LaurentGomila/SFML/releases{/id}","created_at":"2011-03-25T08:05:25Z","updated_at":"2015-02-13T07:06:31Z","pushed_at":"2015-02-12T22:53:47Z","git_url":"git://github.com/LaurentGomila/SFML.git","ssh_url":"git@github.com:LaurentGomila/SFML.git","clone_url":"https://github.com/LaurentGomila/SFML.git","svn_url":"https://github.com/LaurentGomila/SFML","homepage":"http://www.sfml-dev.org/","size":75624,"stargazers_count":1932,"watchers_count":1932,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":416,"mirror_url":null,"open_issues_count":80,"forks":416,"open_issues":80,"watchers":1932,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LaurentGomila/SFML/pulls/797"},"html":{"href":"https://github.com/LaurentGomila/SFML/pull/797"},"issue":{"href":"https://api.github.com/repos/LaurentGomila/SFML/issues/797"},"comments":{"href":"https://api.github.com/repos/LaurentGomila/SFML/issues/797/comments"},"review_comments":{"href":"https://api.github.com/repos/LaurentGomila/SFML/pulls/797/comments"},"review_comment":{"href":"https://api.github.com/repos/LaurentGomila/SFML/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/LaurentGomila/SFML/pulls/797/commits"},"statuses":{"href":"https://api.github.com/repos/LaurentGomila/SFML/statuses/226b619c2e4049afd4ad3f46c916ae593aa58d1b"}}}}